@azure/arm-datamigration 3.0.0-beta.2 → 3.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/README.md +1 -1
  3. package/dist/index.js +630 -110
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/databaseMigrationsSqlMiCreateOrUpdateSample.js +2 -2
  8. package/dist-esm/samples-dev/databaseMigrationsSqlMiCreateOrUpdateSample.js.map +1 -1
  9. package/dist-esm/samples-dev/databaseMigrationsSqlVMCreateOrUpdateSample.js +2 -2
  10. package/dist-esm/samples-dev/databaseMigrationsSqlVMCreateOrUpdateSample.js.map +1 -1
  11. package/dist-esm/src/dataMigrationManagementClient.d.ts +2 -0
  12. package/dist-esm/src/dataMigrationManagementClient.d.ts.map +1 -1
  13. package/dist-esm/src/dataMigrationManagementClient.js +49 -18
  14. package/dist-esm/src/dataMigrationManagementClient.js.map +1 -1
  15. package/dist-esm/src/index.d.ts +1 -0
  16. package/dist-esm/src/index.d.ts.map +1 -1
  17. package/dist-esm/src/index.js +1 -0
  18. package/dist-esm/src/index.js.map +1 -1
  19. package/dist-esm/src/models/index.d.ts +556 -240
  20. package/dist-esm/src/models/index.d.ts.map +1 -1
  21. package/dist-esm/src/models/index.js +314 -0
  22. package/dist-esm/src/models/index.js.map +1 -1
  23. package/dist-esm/src/operations/files.d.ts.map +1 -1
  24. package/dist-esm/src/operations/files.js +19 -7
  25. package/dist-esm/src/operations/files.js.map +1 -1
  26. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  27. package/dist-esm/src/operations/operations.js +19 -7
  28. package/dist-esm/src/operations/operations.js.map +1 -1
  29. package/dist-esm/src/operations/projects.d.ts.map +1 -1
  30. package/dist-esm/src/operations/projects.js +19 -7
  31. package/dist-esm/src/operations/projects.js.map +1 -1
  32. package/dist-esm/src/operations/resourceSkus.d.ts.map +1 -1
  33. package/dist-esm/src/operations/resourceSkus.js +19 -7
  34. package/dist-esm/src/operations/resourceSkus.js.map +1 -1
  35. package/dist-esm/src/operations/serviceTasks.d.ts.map +1 -1
  36. package/dist-esm/src/operations/serviceTasks.js +19 -7
  37. package/dist-esm/src/operations/serviceTasks.js.map +1 -1
  38. package/dist-esm/src/operations/services.d.ts.map +1 -1
  39. package/dist-esm/src/operations/services.js +55 -21
  40. package/dist-esm/src/operations/services.js.map +1 -1
  41. package/dist-esm/src/operations/sqlMigrationServices.d.ts.map +1 -1
  42. package/dist-esm/src/operations/sqlMigrationServices.js +55 -21
  43. package/dist-esm/src/operations/sqlMigrationServices.js.map +1 -1
  44. package/dist-esm/src/operations/tasks.d.ts.map +1 -1
  45. package/dist-esm/src/operations/tasks.js +19 -7
  46. package/dist-esm/src/operations/tasks.js.map +1 -1
  47. package/dist-esm/src/operations/usages.d.ts.map +1 -1
  48. package/dist-esm/src/operations/usages.js +19 -7
  49. package/dist-esm/src/operations/usages.js.map +1 -1
  50. package/dist-esm/src/pagingHelper.d.ts +13 -0
  51. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  52. package/dist-esm/src/pagingHelper.js +32 -0
  53. package/dist-esm/src/pagingHelper.js.map +1 -0
  54. package/dist-esm/test/sampleTest.js +11 -13
  55. package/dist-esm/test/sampleTest.js.map +1 -1
  56. package/package.json +14 -10
  57. package/review/arm-datamigration.api.md +564 -872
  58. package/src/dataMigrationManagementClient.ts +60 -20
  59. package/src/index.ts +1 -0
  60. package/src/models/index.ts +646 -246
  61. package/src/operations/files.ts +22 -8
  62. package/src/operations/operations.ts +21 -8
  63. package/src/operations/projects.ts +21 -8
  64. package/src/operations/resourceSkus.ts +21 -8
  65. package/src/operations/serviceTasks.ts +21 -8
  66. package/src/operations/services.ts +67 -25
  67. package/src/operations/sqlMigrationServices.ts +71 -29
  68. package/src/operations/tasks.ts +22 -8
  69. package/src/operations/usages.ts +21 -8
  70. package/src/pagingHelper.ts +39 -0
  71. package/types/arm-datamigration.d.ts +567 -240
  72. package/types/tsdoc-metadata.json +1 -1
@@ -3187,7 +3187,8 @@ export interface StartMigrationScenarioServerRoleResult {
3187
3187
  }
3188
3188
 
3189
3189
  /** Database Migration Resource properties for SQL Managed Instance. */
3190
- export type DatabaseMigrationPropertiesSqlMi = DatabaseMigrationProperties & {
3190
+ export interface DatabaseMigrationPropertiesSqlMi
3191
+ extends DatabaseMigrationProperties {
3191
3192
  /** Polymorphic discriminator, which specifies the different types this object can be */
3192
3193
  kind: "SqlMi";
3193
3194
  /**
@@ -3203,10 +3204,11 @@ export type DatabaseMigrationPropertiesSqlMi = DatabaseMigrationProperties & {
3203
3204
  backupConfiguration?: BackupConfiguration;
3204
3205
  /** Offline configuration. */
3205
3206
  offlineConfiguration?: OfflineConfiguration;
3206
- };
3207
+ }
3207
3208
 
3208
3209
  /** Database Migration Resource properties for SQL Virtual Machine. */
3209
- export type DatabaseMigrationPropertiesSqlVm = DatabaseMigrationProperties & {
3210
+ export interface DatabaseMigrationPropertiesSqlVm
3211
+ extends DatabaseMigrationProperties {
3210
3212
  /** Polymorphic discriminator, which specifies the different types this object can be */
3211
3213
  kind: "SqlVm";
3212
3214
  /**
@@ -3222,10 +3224,10 @@ export type DatabaseMigrationPropertiesSqlVm = DatabaseMigrationProperties & {
3222
3224
  backupConfiguration?: BackupConfiguration;
3223
3225
  /** Offline configuration. */
3224
3226
  offlineConfiguration?: OfflineConfiguration;
3225
- };
3227
+ }
3226
3228
 
3227
3229
  /** Database Migration Resource for SQL Managed Instance. */
3228
- export type DatabaseMigrationSqlMi = ProxyResource & {
3230
+ export interface DatabaseMigrationSqlMi extends ProxyResource {
3229
3231
  /**
3230
3232
  * Metadata pertaining to creation and last modification of the resource.
3231
3233
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -3233,10 +3235,10 @@ export type DatabaseMigrationSqlMi = ProxyResource & {
3233
3235
  readonly systemData?: SystemData;
3234
3236
  /** Database Migration Resource properties for SQL Managed Instance. */
3235
3237
  properties?: DatabaseMigrationPropertiesSqlMi;
3236
- };
3238
+ }
3237
3239
 
3238
3240
  /** Database Migration Resource for SQL Virtual Machine. */
3239
- export type DatabaseMigrationSqlVm = ProxyResource & {
3241
+ export interface DatabaseMigrationSqlVm extends ProxyResource {
3240
3242
  /**
3241
3243
  * Metadata pertaining to creation and last modification of the resource.
3242
3244
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -3244,10 +3246,10 @@ export type DatabaseMigrationSqlVm = ProxyResource & {
3244
3246
  readonly systemData?: SystemData;
3245
3247
  /** Database Migration Resource properties for SQL Virtual Machine. */
3246
3248
  properties?: DatabaseMigrationPropertiesSqlVm;
3247
- };
3249
+ }
3248
3250
 
3249
3251
  /** Database Migration Resource. */
3250
- export type DatabaseMigration = ProxyResource & {
3252
+ export interface DatabaseMigration extends ProxyResource {
3251
3253
  /**
3252
3254
  * Metadata pertaining to creation and last modification of the resource.
3253
3255
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -3255,10 +3257,10 @@ export type DatabaseMigration = ProxyResource & {
3255
3257
  readonly systemData?: SystemData;
3256
3258
  /** Database Migration Resource properties. */
3257
3259
  properties?: DatabaseMigrationPropertiesUnion;
3258
- };
3260
+ }
3259
3261
 
3260
3262
  /** A SQL Migration Service. */
3261
- export type SqlMigrationService = TrackedResource & {
3263
+ export interface SqlMigrationService extends TrackedResource {
3262
3264
  /**
3263
3265
  * Provisioning state to track the async operation status.
3264
3266
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -3269,10 +3271,10 @@ export type SqlMigrationService = TrackedResource & {
3269
3271
  * NOTE: This property will not be serialized. It can only be populated by the server.
3270
3272
  */
3271
3273
  readonly integrationRuntimeState?: string;
3272
- };
3274
+ }
3273
3275
 
3274
3276
  /** A Database Migration Service resource */
3275
- export type DataMigrationService = TrackedResource & {
3277
+ export interface DataMigrationService extends TrackedResource {
3276
3278
  /** HTTP strong entity tag value. Ignored if submitted */
3277
3279
  etag?: string;
3278
3280
  /** The resource kind. Only 'vm' (the default) is supported. */
@@ -3294,10 +3296,10 @@ export type DataMigrationService = TrackedResource & {
3294
3296
  autoStopDelay?: string;
3295
3297
  /** Whether service resources should be deleted when stopped. (Turned on by default) */
3296
3298
  deleteResourcesOnStop?: boolean;
3297
- };
3299
+ }
3298
3300
 
3299
3301
  /** A project resource */
3300
- export type Project = TrackedResource & {
3302
+ export interface Project extends TrackedResource {
3301
3303
  /** HTTP strong entity tag value. This is ignored if submitted. */
3302
3304
  eTag?: string;
3303
3305
  /** Source platform for the project */
@@ -3322,10 +3324,11 @@ export type Project = TrackedResource & {
3322
3324
  * NOTE: This property will not be serialized. It can only be populated by the server.
3323
3325
  */
3324
3326
  readonly provisioningState?: ProjectProvisioningState;
3325
- };
3327
+ }
3326
3328
 
3327
3329
  /** Properties for task that migrates Schema for SQL Server databases to Azure SQL databases */
3328
- export type MigrateSchemaSqlServerSqlDbTaskProperties = ProjectTaskProperties & {
3330
+ export interface MigrateSchemaSqlServerSqlDbTaskProperties
3331
+ extends ProjectTaskProperties {
3329
3332
  /** Polymorphic discriminator, which specifies the different types this object can be */
3330
3333
  taskType: "MigrateSchemaSqlServerSqlDb";
3331
3334
  /** Task input */
@@ -3339,10 +3342,10 @@ export type MigrateSchemaSqlServerSqlDbTaskProperties = ProjectTaskProperties &
3339
3342
  createdOn?: string;
3340
3343
  /** Task id */
3341
3344
  taskId?: string;
3342
- };
3345
+ }
3343
3346
 
3344
3347
  /** Properties for the task that checks for OCI drivers. */
3345
- export type CheckOCIDriverTaskProperties = ProjectTaskProperties & {
3348
+ export interface CheckOCIDriverTaskProperties extends ProjectTaskProperties {
3346
3349
  /** Polymorphic discriminator, which specifies the different types this object can be */
3347
3350
  taskType: "Service.Check.OCI";
3348
3351
  /** Input for the service task to check for OCI drivers. */
@@ -3352,10 +3355,10 @@ export type CheckOCIDriverTaskProperties = ProjectTaskProperties & {
3352
3355
  * NOTE: This property will not be serialized. It can only be populated by the server.
3353
3356
  */
3354
3357
  readonly output?: CheckOCIDriverTaskOutput[];
3355
- };
3358
+ }
3356
3359
 
3357
3360
  /** Properties for the task that uploads an OCI driver. */
3358
- export type UploadOCIDriverTaskProperties = ProjectTaskProperties & {
3361
+ export interface UploadOCIDriverTaskProperties extends ProjectTaskProperties {
3359
3362
  /** Polymorphic discriminator, which specifies the different types this object can be */
3360
3363
  taskType: "Service.Upload.OCI";
3361
3364
  /** Input for the service task to upload an OCI driver. */
@@ -3365,10 +3368,10 @@ export type UploadOCIDriverTaskProperties = ProjectTaskProperties & {
3365
3368
  * NOTE: This property will not be serialized. It can only be populated by the server.
3366
3369
  */
3367
3370
  readonly output?: UploadOCIDriverTaskOutput[];
3368
- };
3371
+ }
3369
3372
 
3370
3373
  /** Properties for the task that installs an OCI driver. */
3371
- export type InstallOCIDriverTaskProperties = ProjectTaskProperties & {
3374
+ export interface InstallOCIDriverTaskProperties extends ProjectTaskProperties {
3372
3375
  /** Polymorphic discriminator, which specifies the different types this object can be */
3373
3376
  taskType: "Service.Install.OCI";
3374
3377
  /** Input for the service task to install an OCI driver. */
@@ -3378,10 +3381,10 @@ export type InstallOCIDriverTaskProperties = ProjectTaskProperties & {
3378
3381
  * NOTE: This property will not be serialized. It can only be populated by the server.
3379
3382
  */
3380
3383
  readonly output?: InstallOCIDriverTaskOutput[];
3381
- };
3384
+ }
3382
3385
 
3383
3386
  /** Properties for the task that validates the connection to and provides information about a MongoDB server */
3384
- export type ConnectToMongoDbTaskProperties = ProjectTaskProperties & {
3387
+ export interface ConnectToMongoDbTaskProperties extends ProjectTaskProperties {
3385
3388
  /** Polymorphic discriminator, which specifies the different types this object can be */
3386
3389
  taskType: "Connect.MongoDb";
3387
3390
  /** Describes a connection to a MongoDB data source */
@@ -3391,10 +3394,11 @@ export type ConnectToMongoDbTaskProperties = ProjectTaskProperties & {
3391
3394
  * NOTE: This property will not be serialized. It can only be populated by the server.
3392
3395
  */
3393
3396
  readonly output?: MongoDbClusterInfo[];
3394
- };
3397
+ }
3395
3398
 
3396
3399
  /** Properties for the task that validates connection to SQL Server and also validates source server requirements */
3397
- export type ConnectToSourceSqlServerTaskProperties = ProjectTaskProperties & {
3400
+ export interface ConnectToSourceSqlServerTaskProperties
3401
+ extends ProjectTaskProperties {
3398
3402
  /** Polymorphic discriminator, which specifies the different types this object can be */
3399
3403
  taskType: "ConnectToSource.SqlServer";
3400
3404
  /** Task input */
@@ -3404,10 +3408,11 @@ export type ConnectToSourceSqlServerTaskProperties = ProjectTaskProperties & {
3404
3408
  * NOTE: This property will not be serialized. It can only be populated by the server.
3405
3409
  */
3406
3410
  readonly output?: ConnectToSourceSqlServerTaskOutputUnion[];
3407
- };
3411
+ }
3408
3412
 
3409
3413
  /** Properties for the task that validates connection to SQL Server and source server requirements for online migration */
3410
- export type ConnectToSourceSqlServerSyncTaskProperties = ProjectTaskProperties & {
3414
+ export interface ConnectToSourceSqlServerSyncTaskProperties
3415
+ extends ProjectTaskProperties {
3411
3416
  /** Polymorphic discriminator, which specifies the different types this object can be */
3412
3417
  taskType: "ConnectToSource.SqlServer.Sync";
3413
3418
  /** Task input */
@@ -3417,10 +3422,11 @@ export type ConnectToSourceSqlServerSyncTaskProperties = ProjectTaskProperties &
3417
3422
  * NOTE: This property will not be serialized. It can only be populated by the server.
3418
3423
  */
3419
3424
  readonly output?: ConnectToSourceSqlServerTaskOutputUnion[];
3420
- };
3425
+ }
3421
3426
 
3422
3427
  /** Properties for the task that validates connection to PostgreSQL server and source server requirements for online migration */
3423
- export type ConnectToSourcePostgreSqlSyncTaskProperties = ProjectTaskProperties & {
3428
+ export interface ConnectToSourcePostgreSqlSyncTaskProperties
3429
+ extends ProjectTaskProperties {
3424
3430
  /** Polymorphic discriminator, which specifies the different types this object can be */
3425
3431
  taskType: "ConnectToSource.PostgreSql.Sync";
3426
3432
  /** Task input */
@@ -3430,10 +3436,11 @@ export type ConnectToSourcePostgreSqlSyncTaskProperties = ProjectTaskProperties
3430
3436
  * NOTE: This property will not be serialized. It can only be populated by the server.
3431
3437
  */
3432
3438
  readonly output?: ConnectToSourcePostgreSqlSyncTaskOutput[];
3433
- };
3439
+ }
3434
3440
 
3435
3441
  /** Properties for the task that validates MySQL database connection */
3436
- export type ConnectToSourceMySqlTaskProperties = ProjectTaskProperties & {
3442
+ export interface ConnectToSourceMySqlTaskProperties
3443
+ extends ProjectTaskProperties {
3437
3444
  /** Polymorphic discriminator, which specifies the different types this object can be */
3438
3445
  taskType: "ConnectToSource.MySql";
3439
3446
  /** Task input */
@@ -3443,10 +3450,11 @@ export type ConnectToSourceMySqlTaskProperties = ProjectTaskProperties & {
3443
3450
  * NOTE: This property will not be serialized. It can only be populated by the server.
3444
3451
  */
3445
3452
  readonly output?: ConnectToSourceNonSqlTaskOutput[];
3446
- };
3453
+ }
3447
3454
 
3448
3455
  /** Properties for the task that validates Oracle database connection */
3449
- export type ConnectToSourceOracleSyncTaskProperties = ProjectTaskProperties & {
3456
+ export interface ConnectToSourceOracleSyncTaskProperties
3457
+ extends ProjectTaskProperties {
3450
3458
  /** Polymorphic discriminator, which specifies the different types this object can be */
3451
3459
  taskType: "ConnectToSource.Oracle.Sync";
3452
3460
  /** Task input */
@@ -3456,10 +3464,11 @@ export type ConnectToSourceOracleSyncTaskProperties = ProjectTaskProperties & {
3456
3464
  * NOTE: This property will not be serialized. It can only be populated by the server.
3457
3465
  */
3458
3466
  readonly output?: ConnectToSourceOracleSyncTaskOutput[];
3459
- };
3467
+ }
3460
3468
 
3461
3469
  /** Properties for the task that validates connection to SQL DB and target server requirements */
3462
- export type ConnectToTargetSqlDbTaskProperties = ProjectTaskProperties & {
3470
+ export interface ConnectToTargetSqlDbTaskProperties
3471
+ extends ProjectTaskProperties {
3463
3472
  /** Polymorphic discriminator, which specifies the different types this object can be */
3464
3473
  taskType: "ConnectToTarget.SqlDb";
3465
3474
  /** Task input */
@@ -3469,10 +3478,11 @@ export type ConnectToTargetSqlDbTaskProperties = ProjectTaskProperties & {
3469
3478
  * NOTE: This property will not be serialized. It can only be populated by the server.
3470
3479
  */
3471
3480
  readonly output?: ConnectToTargetSqlDbTaskOutput[];
3472
- };
3481
+ }
3473
3482
 
3474
3483
  /** Properties for the task that validates connection to SQL DB and target server requirements for online migration */
3475
- export type ConnectToTargetSqlDbSyncTaskProperties = ProjectTaskProperties & {
3484
+ export interface ConnectToTargetSqlDbSyncTaskProperties
3485
+ extends ProjectTaskProperties {
3476
3486
  /** Polymorphic discriminator, which specifies the different types this object can be */
3477
3487
  taskType: "ConnectToTarget.SqlDb.Sync";
3478
3488
  /** Task input */
@@ -3482,10 +3492,11 @@ export type ConnectToTargetSqlDbSyncTaskProperties = ProjectTaskProperties & {
3482
3492
  * NOTE: This property will not be serialized. It can only be populated by the server.
3483
3493
  */
3484
3494
  readonly output?: ConnectToTargetSqlDbTaskOutput[];
3485
- };
3495
+ }
3486
3496
 
3487
3497
  /** Properties for the task that validates connection to Azure Database For PostgreSQL server and target server requirements for online migration */
3488
- export type ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties = ProjectTaskProperties & {
3498
+ export interface ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties
3499
+ extends ProjectTaskProperties {
3489
3500
  /** Polymorphic discriminator, which specifies the different types this object can be */
3490
3501
  taskType: "ConnectToTarget.AzureDbForPostgreSql.Sync";
3491
3502
  /** Task input */
@@ -3495,10 +3506,11 @@ export type ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties = ProjectTaskP
3495
3506
  * NOTE: This property will not be serialized. It can only be populated by the server.
3496
3507
  */
3497
3508
  readonly output?: ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput[];
3498
- };
3509
+ }
3499
3510
 
3500
3511
  /** Properties for the task that validates connection to Azure Database For PostgreSQL server and target server requirements for online migration for Oracle source. */
3501
- export type ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties = ProjectTaskProperties & {
3512
+ export interface ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties
3513
+ extends ProjectTaskProperties {
3502
3514
  /** Polymorphic discriminator, which specifies the different types this object can be */
3503
3515
  taskType: "ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync";
3504
3516
  /** Task input */
@@ -3508,10 +3520,10 @@ export type ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties = Projec
3508
3520
  * NOTE: This property will not be serialized. It can only be populated by the server.
3509
3521
  */
3510
3522
  readonly output?: ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput[];
3511
- };
3523
+ }
3512
3524
 
3513
3525
  /** Properties for the task that collects user tables for the given list of databases */
3514
- export type GetUserTablesSqlTaskProperties = ProjectTaskProperties & {
3526
+ export interface GetUserTablesSqlTaskProperties extends ProjectTaskProperties {
3515
3527
  /** Polymorphic discriminator, which specifies the different types this object can be */
3516
3528
  taskType: "GetUserTables.Sql";
3517
3529
  /** Task input */
@@ -3521,10 +3533,11 @@ export type GetUserTablesSqlTaskProperties = ProjectTaskProperties & {
3521
3533
  * NOTE: This property will not be serialized. It can only be populated by the server.
3522
3534
  */
3523
3535
  readonly output?: GetUserTablesSqlTaskOutput[];
3524
- };
3536
+ }
3525
3537
 
3526
3538
  /** Properties for the task that collects user tables for the given list of databases */
3527
- export type GetUserTablesSqlSyncTaskProperties = ProjectTaskProperties & {
3539
+ export interface GetUserTablesSqlSyncTaskProperties
3540
+ extends ProjectTaskProperties {
3528
3541
  /** Polymorphic discriminator, which specifies the different types this object can be */
3529
3542
  taskType: "GetUserTables.AzureSqlDb.Sync";
3530
3543
  /** Task input */
@@ -3534,10 +3547,11 @@ export type GetUserTablesSqlSyncTaskProperties = ProjectTaskProperties & {
3534
3547
  * NOTE: This property will not be serialized. It can only be populated by the server.
3535
3548
  */
3536
3549
  readonly output?: GetUserTablesSqlSyncTaskOutput[];
3537
- };
3550
+ }
3538
3551
 
3539
3552
  /** Properties for the task that collects user tables for the given list of Oracle schemas */
3540
- export type GetUserTablesOracleTaskProperties = ProjectTaskProperties & {
3553
+ export interface GetUserTablesOracleTaskProperties
3554
+ extends ProjectTaskProperties {
3541
3555
  /** Polymorphic discriminator, which specifies the different types this object can be */
3542
3556
  taskType: "GetUserTablesOracle";
3543
3557
  /** Task input */
@@ -3547,10 +3561,11 @@ export type GetUserTablesOracleTaskProperties = ProjectTaskProperties & {
3547
3561
  * NOTE: This property will not be serialized. It can only be populated by the server.
3548
3562
  */
3549
3563
  readonly output?: GetUserTablesOracleTaskOutput[];
3550
- };
3564
+ }
3551
3565
 
3552
3566
  /** Properties for the task that collects user tables for the given list of databases */
3553
- export type GetUserTablesPostgreSqlTaskProperties = ProjectTaskProperties & {
3567
+ export interface GetUserTablesPostgreSqlTaskProperties
3568
+ extends ProjectTaskProperties {
3554
3569
  /** Polymorphic discriminator, which specifies the different types this object can be */
3555
3570
  taskType: "GetUserTablesPostgreSql";
3556
3571
  /** Task input */
@@ -3560,10 +3575,11 @@ export type GetUserTablesPostgreSqlTaskProperties = ProjectTaskProperties & {
3560
3575
  * NOTE: This property will not be serialized. It can only be populated by the server.
3561
3576
  */
3562
3577
  readonly output?: GetUserTablesPostgreSqlTaskOutput[];
3563
- };
3578
+ }
3564
3579
 
3565
3580
  /** Properties for the task that collects user tables for the given list of databases */
3566
- export type GetUserTablesMySqlTaskProperties = ProjectTaskProperties & {
3581
+ export interface GetUserTablesMySqlTaskProperties
3582
+ extends ProjectTaskProperties {
3567
3583
  /** Polymorphic discriminator, which specifies the different types this object can be */
3568
3584
  taskType: "GetUserTablesMySql";
3569
3585
  /** Task input */
@@ -3573,10 +3589,11 @@ export type GetUserTablesMySqlTaskProperties = ProjectTaskProperties & {
3573
3589
  * NOTE: This property will not be serialized. It can only be populated by the server.
3574
3590
  */
3575
3591
  readonly output?: GetUserTablesMySqlTaskOutput[];
3576
- };
3592
+ }
3577
3593
 
3578
3594
  /** Properties for the task that validates connection to Azure SQL Database Managed Instance */
3579
- export type ConnectToTargetSqlMITaskProperties = ProjectTaskProperties & {
3595
+ export interface ConnectToTargetSqlMITaskProperties
3596
+ extends ProjectTaskProperties {
3580
3597
  /** Polymorphic discriminator, which specifies the different types this object can be */
3581
3598
  taskType: "ConnectToTarget.AzureSqlDbMI";
3582
3599
  /** Task input */
@@ -3586,10 +3603,11 @@ export type ConnectToTargetSqlMITaskProperties = ProjectTaskProperties & {
3586
3603
  * NOTE: This property will not be serialized. It can only be populated by the server.
3587
3604
  */
3588
3605
  readonly output?: ConnectToTargetSqlMITaskOutput[];
3589
- };
3606
+ }
3590
3607
 
3591
3608
  /** Properties for the task that validates connection to Azure SQL Database Managed Instance */
3592
- export type ConnectToTargetSqlMISyncTaskProperties = ProjectTaskProperties & {
3609
+ export interface ConnectToTargetSqlMISyncTaskProperties
3610
+ extends ProjectTaskProperties {
3593
3611
  /** Polymorphic discriminator, which specifies the different types this object can be */
3594
3612
  taskType: "ConnectToTarget.AzureSqlDbMI.Sync.LRS";
3595
3613
  /** Task input */
@@ -3599,10 +3617,11 @@ export type ConnectToTargetSqlMISyncTaskProperties = ProjectTaskProperties & {
3599
3617
  * NOTE: This property will not be serialized. It can only be populated by the server.
3600
3618
  */
3601
3619
  readonly output?: ConnectToTargetSqlMISyncTaskOutput[];
3602
- };
3620
+ }
3603
3621
 
3604
3622
  /** Properties for the task that validates connection to Azure Database for MySQL and target server requirements */
3605
- export type ConnectToTargetAzureDbForMySqlTaskProperties = ProjectTaskProperties & {
3623
+ export interface ConnectToTargetAzureDbForMySqlTaskProperties
3624
+ extends ProjectTaskProperties {
3606
3625
  /** Polymorphic discriminator, which specifies the different types this object can be */
3607
3626
  taskType: "ConnectToTarget.AzureDbForMySql";
3608
3627
  /** Task input */
@@ -3612,20 +3631,21 @@ export type ConnectToTargetAzureDbForMySqlTaskProperties = ProjectTaskProperties
3612
3631
  * NOTE: This property will not be serialized. It can only be populated by the server.
3613
3632
  */
3614
3633
  readonly output?: ConnectToTargetAzureDbForMySqlTaskOutput[];
3615
- };
3634
+ }
3616
3635
 
3617
3636
  /** Properties for the task that migrates data between MongoDB data sources */
3618
- export type MigrateMongoDbTaskProperties = ProjectTaskProperties & {
3637
+ export interface MigrateMongoDbTaskProperties extends ProjectTaskProperties {
3619
3638
  /** Polymorphic discriminator, which specifies the different types this object can be */
3620
3639
  taskType: "Migrate.MongoDb";
3621
3640
  /** Describes how a MongoDB data migration should be performed */
3622
3641
  input?: MongoDbMigrationSettings;
3623
3642
  /** NOTE: This property will not be serialized. It can only be populated by the server. */
3624
3643
  readonly output?: MongoDbProgressUnion[];
3625
- };
3644
+ }
3626
3645
 
3627
3646
  /** Properties for task that migrates SQL Server databases to Azure SQL Database Managed Instance */
3628
- export type MigrateSqlServerSqlMITaskProperties = ProjectTaskProperties & {
3647
+ export interface MigrateSqlServerSqlMITaskProperties
3648
+ extends ProjectTaskProperties {
3629
3649
  /** Polymorphic discriminator, which specifies the different types this object can be */
3630
3650
  taskType: "Migrate.SqlServer.AzureSqlDbMI";
3631
3651
  /** Task input */
@@ -3637,10 +3657,11 @@ export type MigrateSqlServerSqlMITaskProperties = ProjectTaskProperties & {
3637
3657
  readonly output?: MigrateSqlServerSqlMITaskOutputUnion[];
3638
3658
  /** task id */
3639
3659
  taskId?: string;
3640
- };
3660
+ }
3641
3661
 
3642
3662
  /** Properties for task that migrates SQL Server databases to Azure SQL Database Managed Instance sync scenario */
3643
- export type MigrateSqlServerSqlMISyncTaskProperties = ProjectTaskProperties & {
3663
+ export interface MigrateSqlServerSqlMISyncTaskProperties
3664
+ extends ProjectTaskProperties {
3644
3665
  /** Polymorphic discriminator, which specifies the different types this object can be */
3645
3666
  taskType: "Migrate.SqlServer.AzureSqlDbMI.Sync.LRS";
3646
3667
  /** Task input */
@@ -3650,10 +3671,11 @@ export type MigrateSqlServerSqlMISyncTaskProperties = ProjectTaskProperties & {
3650
3671
  * NOTE: This property will not be serialized. It can only be populated by the server.
3651
3672
  */
3652
3673
  readonly output?: MigrateSqlServerSqlMISyncTaskOutputUnion[];
3653
- };
3674
+ }
3654
3675
 
3655
3676
  /** Properties for the task that migrates on-prem SQL Server databases to Azure SQL Database */
3656
- export type MigrateSqlServerSqlDbTaskProperties = ProjectTaskProperties & {
3677
+ export interface MigrateSqlServerSqlDbTaskProperties
3678
+ extends ProjectTaskProperties {
3657
3679
  /** Polymorphic discriminator, which specifies the different types this object can be */
3658
3680
  taskType: "Migrate.SqlServer.SqlDb";
3659
3681
  /** Task input */
@@ -3667,10 +3689,11 @@ export type MigrateSqlServerSqlDbTaskProperties = ProjectTaskProperties & {
3667
3689
  taskId?: string;
3668
3690
  /** whether the task can be cloned or not */
3669
3691
  isCloneable?: boolean;
3670
- };
3692
+ }
3671
3693
 
3672
3694
  /** Properties for the task that migrates on-prem SQL Server databases to Azure SQL Database for online migrations */
3673
- export type MigrateSqlServerSqlDbSyncTaskProperties = ProjectTaskProperties & {
3695
+ export interface MigrateSqlServerSqlDbSyncTaskProperties
3696
+ extends ProjectTaskProperties {
3674
3697
  /** Polymorphic discriminator, which specifies the different types this object can be */
3675
3698
  taskType: "Migrate.SqlServer.AzureSqlDb.Sync";
3676
3699
  /** Task input */
@@ -3680,10 +3703,11 @@ export type MigrateSqlServerSqlDbSyncTaskProperties = ProjectTaskProperties & {
3680
3703
  * NOTE: This property will not be serialized. It can only be populated by the server.
3681
3704
  */
3682
3705
  readonly output?: MigrateSqlServerSqlDbSyncTaskOutputUnion[];
3683
- };
3706
+ }
3684
3707
 
3685
3708
  /** Properties for the task that migrates MySQL databases to Azure Database for MySQL for online migrations */
3686
- export type MigrateMySqlAzureDbForMySqlSyncTaskProperties = ProjectTaskProperties & {
3709
+ export interface MigrateMySqlAzureDbForMySqlSyncTaskProperties
3710
+ extends ProjectTaskProperties {
3687
3711
  /** Polymorphic discriminator, which specifies the different types this object can be */
3688
3712
  taskType: "Migrate.MySql.AzureDbForMySql.Sync";
3689
3713
  /** Task input */
@@ -3693,10 +3717,11 @@ export type MigrateMySqlAzureDbForMySqlSyncTaskProperties = ProjectTaskPropertie
3693
3717
  * NOTE: This property will not be serialized. It can only be populated by the server.
3694
3718
  */
3695
3719
  readonly output?: MigrateMySqlAzureDbForMySqlSyncTaskOutputUnion[];
3696
- };
3720
+ }
3697
3721
 
3698
3722
  /** Properties for the task that migrates MySQL databases to Azure Database for MySQL for offline migrations */
3699
- export type MigrateMySqlAzureDbForMySqlOfflineTaskProperties = ProjectTaskProperties & {
3723
+ export interface MigrateMySqlAzureDbForMySqlOfflineTaskProperties
3724
+ extends ProjectTaskProperties {
3700
3725
  /** Polymorphic discriminator, which specifies the different types this object can be */
3701
3726
  taskType: "Migrate.MySql.AzureDbForMySql";
3702
3727
  /** Task input */
@@ -3706,10 +3731,11 @@ export type MigrateMySqlAzureDbForMySqlOfflineTaskProperties = ProjectTaskProper
3706
3731
  * NOTE: This property will not be serialized. It can only be populated by the server.
3707
3732
  */
3708
3733
  readonly output?: MigrateMySqlAzureDbForMySqlOfflineTaskOutputUnion[];
3709
- };
3734
+ }
3710
3735
 
3711
3736
  /** Properties for the task that migrates PostgreSQL databases to Azure Database for PostgreSQL for online migrations */
3712
- export type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties = ProjectTaskProperties & {
3737
+ export interface MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties
3738
+ extends ProjectTaskProperties {
3713
3739
  /** Polymorphic discriminator, which specifies the different types this object can be */
3714
3740
  taskType: "Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2";
3715
3741
  /** Task input */
@@ -3723,10 +3749,11 @@ export type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties = ProjectTas
3723
3749
  taskId?: string;
3724
3750
  /** DateTime in UTC when the task was created */
3725
3751
  createdOn?: string;
3726
- };
3752
+ }
3727
3753
 
3728
3754
  /** Properties for the task that migrates Oracle to Azure Database for PostgreSQL for online migrations */
3729
- export type MigrateOracleAzureDbForPostgreSqlSyncTaskProperties = ProjectTaskProperties & {
3755
+ export interface MigrateOracleAzureDbForPostgreSqlSyncTaskProperties
3756
+ extends ProjectTaskProperties {
3730
3757
  /** Polymorphic discriminator, which specifies the different types this object can be */
3731
3758
  taskType: "Migrate.Oracle.AzureDbForPostgreSql.Sync";
3732
3759
  /** Task input */
@@ -3736,10 +3763,11 @@ export type MigrateOracleAzureDbForPostgreSqlSyncTaskProperties = ProjectTaskPro
3736
3763
  * NOTE: This property will not be serialized. It can only be populated by the server.
3737
3764
  */
3738
3765
  readonly output?: MigrateOracleAzureDbPostgreSqlSyncTaskOutputUnion[];
3739
- };
3766
+ }
3740
3767
 
3741
3768
  /** Properties for task that validates migration input for SQL to Azure SQL DB sync migrations */
3742
- export type ValidateMigrationInputSqlServerSqlDbSyncTaskProperties = ProjectTaskProperties & {
3769
+ export interface ValidateMigrationInputSqlServerSqlDbSyncTaskProperties
3770
+ extends ProjectTaskProperties {
3743
3771
  /** Polymorphic discriminator, which specifies the different types this object can be */
3744
3772
  taskType: "ValidateMigrationInput.SqlServer.SqlDb.Sync";
3745
3773
  /** Task input */
@@ -3749,10 +3777,11 @@ export type ValidateMigrationInputSqlServerSqlDbSyncTaskProperties = ProjectTask
3749
3777
  * NOTE: This property will not be serialized. It can only be populated by the server.
3750
3778
  */
3751
3779
  readonly output?: ValidateSyncMigrationInputSqlServerTaskOutput[];
3752
- };
3780
+ }
3753
3781
 
3754
3782
  /** Properties for task that validates migration input for SQL to Azure SQL Database Managed Instance */
3755
- export type ValidateMigrationInputSqlServerSqlMITaskProperties = ProjectTaskProperties & {
3783
+ export interface ValidateMigrationInputSqlServerSqlMITaskProperties
3784
+ extends ProjectTaskProperties {
3756
3785
  /** Polymorphic discriminator, which specifies the different types this object can be */
3757
3786
  taskType: "ValidateMigrationInput.SqlServer.AzureSqlDbMI";
3758
3787
  /** Task input */
@@ -3762,10 +3791,11 @@ export type ValidateMigrationInputSqlServerSqlMITaskProperties = ProjectTaskProp
3762
3791
  * NOTE: This property will not be serialized. It can only be populated by the server.
3763
3792
  */
3764
3793
  readonly output?: ValidateMigrationInputSqlServerSqlMITaskOutput[];
3765
- };
3794
+ }
3766
3795
 
3767
3796
  /** Properties for task that validates migration input for SQL to Azure SQL Database Managed Instance sync scenario */
3768
- export type ValidateMigrationInputSqlServerSqlMISyncTaskProperties = ProjectTaskProperties & {
3797
+ export interface ValidateMigrationInputSqlServerSqlMISyncTaskProperties
3798
+ extends ProjectTaskProperties {
3769
3799
  /** Polymorphic discriminator, which specifies the different types this object can be */
3770
3800
  taskType: "ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS";
3771
3801
  /** Task input */
@@ -3775,10 +3805,10 @@ export type ValidateMigrationInputSqlServerSqlMISyncTaskProperties = ProjectTask
3775
3805
  * NOTE: This property will not be serialized. It can only be populated by the server.
3776
3806
  */
3777
3807
  readonly output?: ValidateMigrationInputSqlServerSqlMISyncTaskOutput[];
3778
- };
3808
+ }
3779
3809
 
3780
3810
  /** Properties for the task that validates a migration between MongoDB data sources */
3781
- export type ValidateMongoDbTaskProperties = ProjectTaskProperties & {
3811
+ export interface ValidateMongoDbTaskProperties extends ProjectTaskProperties {
3782
3812
  /** Polymorphic discriminator, which specifies the different types this object can be */
3783
3813
  taskType: "Validate.MongoDb";
3784
3814
  /** Describes how a MongoDB data migration should be performed */
@@ -3788,10 +3818,11 @@ export type ValidateMongoDbTaskProperties = ProjectTaskProperties & {
3788
3818
  * NOTE: This property will not be serialized. It can only be populated by the server.
3789
3819
  */
3790
3820
  readonly output?: MongoDbMigrationProgress[];
3791
- };
3821
+ }
3792
3822
 
3793
3823
  /** Properties for the task that validates a migration for Oracle to Azure Database for PostgreSQL for online migrations */
3794
- export type ValidateOracleAzureDbForPostgreSqlSyncTaskProperties = ProjectTaskProperties & {
3824
+ export interface ValidateOracleAzureDbForPostgreSqlSyncTaskProperties
3825
+ extends ProjectTaskProperties {
3795
3826
  /** Polymorphic discriminator, which specifies the different types this object can be */
3796
3827
  taskType: "Validate.Oracle.AzureDbPostgreSql.Sync";
3797
3828
  /** Input for the task that migrates Oracle databases to Azure Database for PostgreSQL for online migrations */
@@ -3801,10 +3832,11 @@ export type ValidateOracleAzureDbForPostgreSqlSyncTaskProperties = ProjectTaskPr
3801
3832
  * NOTE: This property will not be serialized. It can only be populated by the server.
3802
3833
  */
3803
3834
  readonly output?: ValidateOracleAzureDbPostgreSqlSyncTaskOutput[];
3804
- };
3835
+ }
3805
3836
 
3806
3837
  /** Properties for the task that gets TDE certificates in Base64 encoded format. */
3807
- export type GetTdeCertificatesSqlTaskProperties = ProjectTaskProperties & {
3838
+ export interface GetTdeCertificatesSqlTaskProperties
3839
+ extends ProjectTaskProperties {
3808
3840
  /** Polymorphic discriminator, which specifies the different types this object can be */
3809
3841
  taskType: "GetTDECertificates.Sql";
3810
3842
  /** Task input */
@@ -3814,10 +3846,10 @@ export type GetTdeCertificatesSqlTaskProperties = ProjectTaskProperties & {
3814
3846
  * NOTE: This property will not be serialized. It can only be populated by the server.
3815
3847
  */
3816
3848
  readonly output?: GetTdeCertificatesSqlTaskOutput[];
3817
- };
3849
+ }
3818
3850
 
3819
3851
  /** Properties for task that migrates SSIS packages from SQL Server databases to Azure SQL Database Managed Instance. */
3820
- export type MigrateSsisTaskProperties = ProjectTaskProperties & {
3852
+ export interface MigrateSsisTaskProperties extends ProjectTaskProperties {
3821
3853
  /** Polymorphic discriminator, which specifies the different types this object can be */
3822
3854
  taskType: "Migrate.Ssis";
3823
3855
  /** Task input */
@@ -3827,10 +3859,11 @@ export type MigrateSsisTaskProperties = ProjectTaskProperties & {
3827
3859
  * NOTE: This property will not be serialized. It can only be populated by the server.
3828
3860
  */
3829
3861
  readonly output?: MigrateSsisTaskOutputUnion[];
3830
- };
3862
+ }
3831
3863
 
3832
3864
  /** Properties for the command that completes sync migration for a database. */
3833
- export type MigrateSyncCompleteCommandProperties = CommandProperties & {
3865
+ export interface MigrateSyncCompleteCommandProperties
3866
+ extends CommandProperties {
3834
3867
  /** Polymorphic discriminator, which specifies the different types this object can be */
3835
3868
  commandType: "Migrate.Sync.Complete.Database";
3836
3869
  /** Command input */
@@ -3840,10 +3873,11 @@ export type MigrateSyncCompleteCommandProperties = CommandProperties & {
3840
3873
  * NOTE: This property will not be serialized. It can only be populated by the server.
3841
3874
  */
3842
3875
  readonly output?: MigrateSyncCompleteCommandOutput;
3843
- };
3876
+ }
3844
3877
 
3845
3878
  /** Properties for the command that completes online migration for an Azure SQL Database Managed Instance. */
3846
- export type MigrateMISyncCompleteCommandProperties = CommandProperties & {
3879
+ export interface MigrateMISyncCompleteCommandProperties
3880
+ extends CommandProperties {
3847
3881
  /** Polymorphic discriminator, which specifies the different types this object can be */
3848
3882
  commandType: "Migrate.SqlServer.AzureDbSqlMi.Complete";
3849
3883
  /** Command input */
@@ -3853,34 +3887,34 @@ export type MigrateMISyncCompleteCommandProperties = CommandProperties & {
3853
3887
  * NOTE: This property will not be serialized. It can only be populated by the server.
3854
3888
  */
3855
3889
  readonly output?: MigrateMISyncCompleteCommandOutput;
3856
- };
3890
+ }
3857
3891
 
3858
3892
  /** Properties for the command that cancels a migration in whole or in part */
3859
- export type MongoDbCancelCommand = CommandProperties & {
3893
+ export interface MongoDbCancelCommand extends CommandProperties {
3860
3894
  /** Polymorphic discriminator, which specifies the different types this object can be */
3861
3895
  commandType: "cancel";
3862
3896
  /** Command input */
3863
3897
  input?: MongoDbCommandInput;
3864
- };
3898
+ }
3865
3899
 
3866
3900
  /** Properties for the command that finishes a migration in whole or in part */
3867
- export type MongoDbFinishCommand = CommandProperties & {
3901
+ export interface MongoDbFinishCommand extends CommandProperties {
3868
3902
  /** Polymorphic discriminator, which specifies the different types this object can be */
3869
3903
  commandType: "finish";
3870
3904
  /** Command input */
3871
3905
  input?: MongoDbFinishCommandInput;
3872
- };
3906
+ }
3873
3907
 
3874
3908
  /** Properties for the command that restarts a migration in whole or in part */
3875
- export type MongoDbRestartCommand = CommandProperties & {
3909
+ export interface MongoDbRestartCommand extends CommandProperties {
3876
3910
  /** Polymorphic discriminator, which specifies the different types this object can be */
3877
3911
  commandType: "restart";
3878
3912
  /** Command input */
3879
3913
  input?: MongoDbCommandInput;
3880
- };
3914
+ }
3881
3915
 
3882
3916
  /** A task resource */
3883
- export type ProjectTask = Resource & {
3917
+ export interface ProjectTask extends Resource {
3884
3918
  /** HTTP strong entity tag value. This is ignored if submitted. */
3885
3919
  etag?: string;
3886
3920
  /** Custom task properties */
@@ -3890,10 +3924,10 @@ export type ProjectTask = Resource & {
3890
3924
  * NOTE: This property will not be serialized. It can only be populated by the server.
3891
3925
  */
3892
3926
  readonly systemData?: SystemData;
3893
- };
3927
+ }
3894
3928
 
3895
3929
  /** A file resource */
3896
- export type ProjectFile = Resource & {
3930
+ export interface ProjectFile extends Resource {
3897
3931
  /** HTTP strong entity tag value. This is ignored if submitted. */
3898
3932
  etag?: string;
3899
3933
  /** Custom file properties */
@@ -3903,10 +3937,10 @@ export type ProjectFile = Resource & {
3903
3937
  * NOTE: This property will not be serialized. It can only be populated by the server.
3904
3938
  */
3905
3939
  readonly systemData?: SystemData;
3906
- };
3940
+ }
3907
3941
 
3908
3942
  /** Describes a connection to a MongoDB data source */
3909
- export type MongoDbConnectionInfo = ConnectionInfo & {
3943
+ export interface MongoDbConnectionInfo extends ConnectionInfo {
3910
3944
  /** Polymorphic discriminator, which specifies the different types this object can be */
3911
3945
  type: "MongoDbConnectionInfo";
3912
3946
  /** A MongoDB connection string or blob container URL. The user name and password can be specified here or in the userName and password properties */
@@ -3922,10 +3956,10 @@ export type MongoDbConnectionInfo = ConnectionInfo & {
3922
3956
  port?: number;
3923
3957
  /** Additional connection settings */
3924
3958
  additionalSettings?: string;
3925
- };
3959
+ }
3926
3960
 
3927
3961
  /** Information for connecting to SQL database server */
3928
- export type SqlConnectionInfo = ConnectionInfo & {
3962
+ export interface SqlConnectionInfo extends ConnectionInfo {
3929
3963
  /** Polymorphic discriminator, which specifies the different types this object can be */
3930
3964
  type: "SqlConnectionInfo";
3931
3965
  /** Data source in the format Protocol:MachineName\SQLServerInstanceName,PortNumber */
@@ -3946,10 +3980,10 @@ export type SqlConnectionInfo = ConnectionInfo & {
3946
3980
  trustServerCertificate?: boolean;
3947
3981
  /** Server platform type for connection */
3948
3982
  platform?: SqlSourcePlatform;
3949
- };
3983
+ }
3950
3984
 
3951
3985
  /** Information for connecting to MySQL server */
3952
- export type MySqlConnectionInfo = ConnectionInfo & {
3986
+ export interface MySqlConnectionInfo extends ConnectionInfo {
3953
3987
  /** Polymorphic discriminator, which specifies the different types this object can be */
3954
3988
  type: "MySqlConnectionInfo";
3955
3989
  /** Name of the server */
@@ -3960,18 +3994,18 @@ export type MySqlConnectionInfo = ConnectionInfo & {
3960
3994
  port: number;
3961
3995
  /** Whether to encrypt the connection */
3962
3996
  encryptConnection?: boolean;
3963
- };
3997
+ }
3964
3998
 
3965
3999
  /** Information for connecting to Oracle server */
3966
- export type OracleConnectionInfo = ConnectionInfo & {
4000
+ export interface OracleConnectionInfo extends ConnectionInfo {
3967
4001
  /** Polymorphic discriminator, which specifies the different types this object can be */
3968
4002
  type: "OracleConnectionInfo";
3969
4003
  /** EZConnect or TNSName connection string. */
3970
4004
  dataSource: string;
3971
- };
4005
+ }
3972
4006
 
3973
4007
  /** Information for connecting to PostgreSQL server */
3974
- export type PostgreSqlConnectionInfo = ConnectionInfo & {
4008
+ export interface PostgreSqlConnectionInfo extends ConnectionInfo {
3975
4009
  /** Polymorphic discriminator, which specifies the different types this object can be */
3976
4010
  type: "PostgreSqlConnectionInfo";
3977
4011
  /** Name of the server */
@@ -3988,18 +4022,19 @@ export type PostgreSqlConnectionInfo = ConnectionInfo & {
3988
4022
  encryptConnection?: boolean;
3989
4023
  /** Whether to trust the server certificate */
3990
4024
  trustServerCertificate?: boolean;
3991
- };
4025
+ }
3992
4026
 
3993
4027
  /** Properties required to create a connection to Azure SQL database Managed instance */
3994
- export type MiSqlConnectionInfo = ConnectionInfo & {
4028
+ export interface MiSqlConnectionInfo extends ConnectionInfo {
3995
4029
  /** Polymorphic discriminator, which specifies the different types this object can be */
3996
4030
  type: "MiSqlConnectionInfo";
3997
4031
  /** Resource id for Azure SQL database Managed instance */
3998
4032
  managedInstanceResourceId: string;
3999
- };
4033
+ }
4000
4034
 
4001
4035
  /** Task level output for the task that validates connection to SQL Server and also validates source server requirements */
4002
- export type ConnectToSourceSqlServerTaskOutputTaskLevel = ConnectToSourceSqlServerTaskOutput & {
4036
+ export interface ConnectToSourceSqlServerTaskOutputTaskLevel
4037
+ extends ConnectToSourceSqlServerTaskOutput {
4003
4038
  /** Polymorphic discriminator, which specifies the different types this object can be */
4004
4039
  resultType: "TaskLevelOutput";
4005
4040
  /**
@@ -4037,10 +4072,11 @@ export type ConnectToSourceSqlServerTaskOutputTaskLevel = ConnectToSourceSqlServ
4037
4072
  * NOTE: This property will not be serialized. It can only be populated by the server.
4038
4073
  */
4039
4074
  readonly validationErrors?: ReportableException[];
4040
- };
4075
+ }
4041
4076
 
4042
4077
  /** Database level output for the task that validates connection to SQL Server and also validates source server requirements */
4043
- export type ConnectToSourceSqlServerTaskOutputDatabaseLevel = ConnectToSourceSqlServerTaskOutput & {
4078
+ export interface ConnectToSourceSqlServerTaskOutputDatabaseLevel
4079
+ extends ConnectToSourceSqlServerTaskOutput {
4044
4080
  /** Polymorphic discriminator, which specifies the different types this object can be */
4045
4081
  resultType: "DatabaseLevelOutput";
4046
4082
  /**
@@ -4068,10 +4104,11 @@ export type ConnectToSourceSqlServerTaskOutputDatabaseLevel = ConnectToSourceSql
4068
4104
  * NOTE: This property will not be serialized. It can only be populated by the server.
4069
4105
  */
4070
4106
  readonly databaseState?: DatabaseState;
4071
- };
4107
+ }
4072
4108
 
4073
4109
  /** Login level output for the task that validates connection to SQL Server and also validates source server requirements */
4074
- export type ConnectToSourceSqlServerTaskOutputLoginLevel = ConnectToSourceSqlServerTaskOutput & {
4110
+ export interface ConnectToSourceSqlServerTaskOutputLoginLevel
4111
+ extends ConnectToSourceSqlServerTaskOutput {
4075
4112
  /** Polymorphic discriminator, which specifies the different types this object can be */
4076
4113
  resultType: "LoginLevelOutput";
4077
4114
  /**
@@ -4099,10 +4136,11 @@ export type ConnectToSourceSqlServerTaskOutputLoginLevel = ConnectToSourceSqlSer
4099
4136
  * NOTE: This property will not be serialized. It can only be populated by the server.
4100
4137
  */
4101
4138
  readonly migrationEligibility?: MigrationEligibilityInfo;
4102
- };
4139
+ }
4103
4140
 
4104
4141
  /** Agent Job level output for the task that validates connection to SQL Server and also validates source server requirements */
4105
- export type ConnectToSourceSqlServerTaskOutputAgentJobLevel = ConnectToSourceSqlServerTaskOutput & {
4142
+ export interface ConnectToSourceSqlServerTaskOutputAgentJobLevel
4143
+ extends ConnectToSourceSqlServerTaskOutput {
4106
4144
  /** Polymorphic discriminator, which specifies the different types this object can be */
4107
4145
  resultType: "AgentJobLevelOutput";
4108
4146
  /**
@@ -4140,28 +4178,30 @@ export type ConnectToSourceSqlServerTaskOutputAgentJobLevel = ConnectToSourceSql
4140
4178
  * NOTE: This property will not be serialized. It can only be populated by the server.
4141
4179
  */
4142
4180
  readonly migrationEligibility?: MigrationEligibilityInfo;
4143
- };
4181
+ }
4144
4182
 
4145
4183
  /** Input for task that migrates Schema for SQL Server databases to Azure SQL databases */
4146
- export type MigrateSchemaSqlServerSqlDbTaskInput = SqlMigrationTaskInput & {
4184
+ export interface MigrateSchemaSqlServerSqlDbTaskInput
4185
+ extends SqlMigrationTaskInput {
4147
4186
  /** Databases to migrate */
4148
4187
  selectedDatabases: MigrateSchemaSqlServerSqlDbDatabaseInput[];
4149
4188
  /** encrypted key for secure fields */
4150
4189
  encryptedKeyForSecureFields?: string;
4151
4190
  /** Migration start time */
4152
4191
  startedOn?: string;
4153
- };
4192
+ }
4154
4193
 
4155
4194
  /** Input for the task that migrates on-prem SQL Server databases to Azure SQL Database for online migrations */
4156
- export type MigrateSqlServerSqlDbSyncTaskInput = SqlMigrationTaskInput & {
4195
+ export interface MigrateSqlServerSqlDbSyncTaskInput
4196
+ extends SqlMigrationTaskInput {
4157
4197
  /** Databases to migrate */
4158
4198
  selectedDatabases: MigrateSqlServerSqlDbSyncDatabaseInput[];
4159
4199
  /** Validation options */
4160
4200
  validationOptions?: MigrationValidationOptions;
4161
- };
4201
+ }
4162
4202
 
4163
4203
  /** Input for the task that migrates on-prem SQL Server databases to Azure SQL Database */
4164
- export type MigrateSqlServerSqlDbTaskInput = SqlMigrationTaskInput & {
4204
+ export interface MigrateSqlServerSqlDbTaskInput extends SqlMigrationTaskInput {
4165
4205
  /** Databases to migrate */
4166
4206
  selectedDatabases: MigrateSqlServerSqlDbDatabaseInput[];
4167
4207
  /**
@@ -4174,10 +4214,10 @@ export type MigrateSqlServerSqlDbTaskInput = SqlMigrationTaskInput & {
4174
4214
  startedOn?: string;
4175
4215
  /** encrypted key for secure fields */
4176
4216
  encryptedKeyForSecureFields?: string;
4177
- };
4217
+ }
4178
4218
 
4179
4219
  /** Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance. */
4180
- export type MigrateSqlServerSqlMITaskInput = SqlMigrationTaskInput & {
4220
+ export interface MigrateSqlServerSqlMITaskInput extends SqlMigrationTaskInput {
4181
4221
  /** Databases to migrate */
4182
4222
  selectedDatabases: MigrateSqlServerSqlMIDatabaseInput[];
4183
4223
  /** Date and time relative to UTC when the migration was started on */
@@ -4194,15 +4234,16 @@ export type MigrateSqlServerSqlMITaskInput = SqlMigrationTaskInput & {
4194
4234
  backupMode?: BackupMode;
4195
4235
  /** Azure Active Directory domain name in the format of 'contoso.com' for federated Azure AD or 'contoso.onmicrosoft.com' for managed domain, required if and only if Windows logins are selected */
4196
4236
  aadDomainName?: string;
4197
- };
4237
+ }
4198
4238
 
4199
4239
  /** Input for task that migrates SSIS packages from SQL Server to Azure SQL Database Managed Instance. */
4200
- export type MigrateSsisTaskInput = SqlMigrationTaskInput & {
4240
+ export interface MigrateSsisTaskInput extends SqlMigrationTaskInput {
4201
4241
  /** SSIS package migration information. */
4202
4242
  ssisMigrationInfo: SsisMigrationInfo;
4203
- };
4243
+ }
4204
4244
 
4205
- export type MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel = MigrateSchemaSqlServerSqlDbTaskOutput & {
4245
+ export interface MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel
4246
+ extends MigrateSchemaSqlServerSqlDbTaskOutput {
4206
4247
  /** Polymorphic discriminator, which specifies the different types this object can be */
4207
4248
  resultType: "MigrationLevelOutput";
4208
4249
  /**
@@ -4240,9 +4281,10 @@ export type MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel = MigrateSchemaS
4240
4281
  * NOTE: This property will not be serialized. It can only be populated by the server.
4241
4282
  */
4242
4283
  readonly targetServerBrandVersion?: string;
4243
- };
4284
+ }
4244
4285
 
4245
- export type MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel = MigrateSchemaSqlServerSqlDbTaskOutput & {
4286
+ export interface MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel
4287
+ extends MigrateSchemaSqlServerSqlDbTaskOutput {
4246
4288
  /** Polymorphic discriminator, which specifies the different types this object can be */
4247
4289
  resultType: "DatabaseLevelOutput";
4248
4290
  /**
@@ -4295,9 +4337,10 @@ export type MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel = MigrateSchemaSq
4295
4337
  * NOTE: This property will not be serialized. It can only be populated by the server.
4296
4338
  */
4297
4339
  readonly fileId?: string;
4298
- };
4340
+ }
4299
4341
 
4300
- export type MigrateSchemaSqlServerSqlDbTaskOutputError = MigrateSchemaSqlServerSqlDbTaskOutput & {
4342
+ export interface MigrateSchemaSqlServerSqlDbTaskOutputError
4343
+ extends MigrateSchemaSqlServerSqlDbTaskOutput {
4301
4344
  /** Polymorphic discriminator, which specifies the different types this object can be */
4302
4345
  resultType: "SchemaErrorOutput";
4303
4346
  /**
@@ -4310,9 +4353,10 @@ export type MigrateSchemaSqlServerSqlDbTaskOutputError = MigrateSchemaSqlServerS
4310
4353
  * NOTE: This property will not be serialized. It can only be populated by the server.
4311
4354
  */
4312
4355
  readonly errorText?: string;
4313
- };
4356
+ }
4314
4357
 
4315
- export type MigrateSchemaSqlTaskOutputError = MigrateSchemaSqlServerSqlDbTaskOutput & {
4358
+ export interface MigrateSchemaSqlTaskOutputError
4359
+ extends MigrateSchemaSqlServerSqlDbTaskOutput {
4316
4360
  /** Polymorphic discriminator, which specifies the different types this object can be */
4317
4361
  resultType: "ErrorOutput";
4318
4362
  /**
@@ -4320,9 +4364,10 @@ export type MigrateSchemaSqlTaskOutputError = MigrateSchemaSqlServerSqlDbTaskOut
4320
4364
  * NOTE: This property will not be serialized. It can only be populated by the server.
4321
4365
  */
4322
4366
  readonly error?: ReportableException;
4323
- };
4367
+ }
4324
4368
 
4325
- export type MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel = MigrateMySqlAzureDbForMySqlSyncTaskOutput & {
4369
+ export interface MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel
4370
+ extends MigrateMySqlAzureDbForMySqlSyncTaskOutput {
4326
4371
  /** Polymorphic discriminator, which specifies the different types this object can be */
4327
4372
  resultType: "MigrationLevelOutput";
4328
4373
  /**
@@ -4355,9 +4400,10 @@ export type MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel = MigrateMyS
4355
4400
  * NOTE: This property will not be serialized. It can only be populated by the server.
4356
4401
  */
4357
4402
  readonly targetServer?: string;
4358
- };
4403
+ }
4359
4404
 
4360
- export type MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel = MigrateMySqlAzureDbForMySqlSyncTaskOutput & {
4405
+ export interface MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel
4406
+ extends MigrateMySqlAzureDbForMySqlSyncTaskOutput {
4361
4407
  /** Polymorphic discriminator, which specifies the different types this object can be */
4362
4408
  resultType: "DatabaseLevelOutput";
4363
4409
  /**
@@ -4435,9 +4481,10 @@ export type MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel = MigrateMySq
4435
4481
  * NOTE: This property will not be serialized. It can only be populated by the server.
4436
4482
  */
4437
4483
  readonly latency?: number;
4438
- };
4484
+ }
4439
4485
 
4440
- export type MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel = MigrateMySqlAzureDbForMySqlSyncTaskOutput & {
4486
+ export interface MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel
4487
+ extends MigrateMySqlAzureDbForMySqlSyncTaskOutput {
4441
4488
  /** Polymorphic discriminator, which specifies the different types this object can be */
4442
4489
  resultType: "TableLevelOutput";
4443
4490
  /**
@@ -4505,9 +4552,10 @@ export type MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel = MigrateMySqlAz
4505
4552
  * NOTE: This property will not be serialized. It can only be populated by the server.
4506
4553
  */
4507
4554
  readonly lastModifiedTime?: Date;
4508
- };
4555
+ }
4509
4556
 
4510
- export type MigrateMySqlAzureDbForMySqlSyncTaskOutputError = MigrateMySqlAzureDbForMySqlSyncTaskOutput & {
4557
+ export interface MigrateMySqlAzureDbForMySqlSyncTaskOutputError
4558
+ extends MigrateMySqlAzureDbForMySqlSyncTaskOutput {
4511
4559
  /** Polymorphic discriminator, which specifies the different types this object can be */
4512
4560
  resultType: "ErrorOutput";
4513
4561
  /**
@@ -4515,18 +4563,20 @@ export type MigrateMySqlAzureDbForMySqlSyncTaskOutputError = MigrateMySqlAzureDb
4515
4563
  * NOTE: This property will not be serialized. It can only be populated by the server.
4516
4564
  */
4517
4565
  readonly error?: ReportableException;
4518
- };
4566
+ }
4519
4567
 
4520
- export type MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError = MigrateMySqlAzureDbForMySqlSyncTaskOutput & {
4568
+ export interface MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError
4569
+ extends MigrateMySqlAzureDbForMySqlSyncTaskOutput {
4521
4570
  /** Polymorphic discriminator, which specifies the different types this object can be */
4522
4571
  resultType: "DatabaseLevelErrorOutput";
4523
4572
  /** Error message */
4524
4573
  errorMessage?: string;
4525
4574
  /** List of error events. */
4526
4575
  events?: SyncMigrationDatabaseErrorEvent[];
4527
- };
4576
+ }
4528
4577
 
4529
- export type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel = MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput & {
4578
+ export interface MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel
4579
+ extends MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput {
4530
4580
  /** Polymorphic discriminator, which specifies the different types this object can be */
4531
4581
  resultType: "MigrationLevelOutput";
4532
4582
  /**
@@ -4576,9 +4626,10 @@ export type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel =
4576
4626
  readonly state?: ReplicateMigrationState;
4577
4627
  /** Number of databases to include */
4578
4628
  databaseCount?: number;
4579
- };
4629
+ }
4580
4630
 
4581
- export type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel = MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput & {
4631
+ export interface MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel
4632
+ extends MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput {
4582
4633
  /** Polymorphic discriminator, which specifies the different types this object can be */
4583
4634
  resultType: "DatabaseLevelOutput";
4584
4635
  /**
@@ -4656,9 +4707,10 @@ export type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel = M
4656
4707
  * NOTE: This property will not be serialized. It can only be populated by the server.
4657
4708
  */
4658
4709
  readonly latency?: number;
4659
- };
4710
+ }
4660
4711
 
4661
- export type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel = MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput & {
4712
+ export interface MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel
4713
+ extends MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput {
4662
4714
  /** Polymorphic discriminator, which specifies the different types this object can be */
4663
4715
  resultType: "TableLevelOutput";
4664
4716
  /**
@@ -4726,9 +4778,10 @@ export type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel = Migr
4726
4778
  * NOTE: This property will not be serialized. It can only be populated by the server.
4727
4779
  */
4728
4780
  readonly lastModifiedTime?: Date;
4729
- };
4781
+ }
4730
4782
 
4731
- export type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError = MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput & {
4783
+ export interface MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError
4784
+ extends MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput {
4732
4785
  /** Polymorphic discriminator, which specifies the different types this object can be */
4733
4786
  resultType: "ErrorOutput";
4734
4787
  /**
@@ -4738,18 +4791,20 @@ export type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError = MigratePo
4738
4791
  readonly error?: ReportableException;
4739
4792
  /** List of error events */
4740
4793
  events?: SyncMigrationDatabaseErrorEvent[];
4741
- };
4794
+ }
4742
4795
 
4743
- export type MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError = MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput & {
4796
+ export interface MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError
4797
+ extends MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput {
4744
4798
  /** Polymorphic discriminator, which specifies the different types this object can be */
4745
4799
  resultType: "DatabaseLevelErrorOutput";
4746
4800
  /** Error message */
4747
4801
  errorMessage?: string;
4748
4802
  /** List of error events. */
4749
4803
  events?: SyncMigrationDatabaseErrorEvent[];
4750
- };
4804
+ }
4751
4805
 
4752
- export type MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel = MigrateSqlServerSqlDbSyncTaskOutput & {
4806
+ export interface MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel
4807
+ extends MigrateSqlServerSqlDbSyncTaskOutput {
4753
4808
  /** Polymorphic discriminator, which specifies the different types this object can be */
4754
4809
  resultType: "MigrationLevelOutput";
4755
4810
  /**
@@ -4787,9 +4842,10 @@ export type MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel = MigrateSqlServer
4787
4842
  * NOTE: This property will not be serialized. It can only be populated by the server.
4788
4843
  */
4789
4844
  readonly databaseCount?: number;
4790
- };
4845
+ }
4791
4846
 
4792
- export type MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel = MigrateSqlServerSqlDbSyncTaskOutput & {
4847
+ export interface MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel
4848
+ extends MigrateSqlServerSqlDbSyncTaskOutput {
4793
4849
  /** Polymorphic discriminator, which specifies the different types this object can be */
4794
4850
  resultType: "DatabaseLevelOutput";
4795
4851
  /**
@@ -4867,9 +4923,10 @@ export type MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel = MigrateSqlServerS
4867
4923
  * NOTE: This property will not be serialized. It can only be populated by the server.
4868
4924
  */
4869
4925
  readonly latency?: number;
4870
- };
4926
+ }
4871
4927
 
4872
- export type MigrateSqlServerSqlDbSyncTaskOutputTableLevel = MigrateSqlServerSqlDbSyncTaskOutput & {
4928
+ export interface MigrateSqlServerSqlDbSyncTaskOutputTableLevel
4929
+ extends MigrateSqlServerSqlDbSyncTaskOutput {
4873
4930
  /** Polymorphic discriminator, which specifies the different types this object can be */
4874
4931
  resultType: "TableLevelOutput";
4875
4932
  /**
@@ -4937,9 +4994,10 @@ export type MigrateSqlServerSqlDbSyncTaskOutputTableLevel = MigrateSqlServerSqlD
4937
4994
  * NOTE: This property will not be serialized. It can only be populated by the server.
4938
4995
  */
4939
4996
  readonly lastModifiedTime?: Date;
4940
- };
4997
+ }
4941
4998
 
4942
- export type MigrateSqlServerSqlDbSyncTaskOutputError = MigrateSqlServerSqlDbSyncTaskOutput & {
4999
+ export interface MigrateSqlServerSqlDbSyncTaskOutputError
5000
+ extends MigrateSqlServerSqlDbSyncTaskOutput {
4943
5001
  /** Polymorphic discriminator, which specifies the different types this object can be */
4944
5002
  resultType: "ErrorOutput";
4945
5003
  /**
@@ -4947,18 +5005,20 @@ export type MigrateSqlServerSqlDbSyncTaskOutputError = MigrateSqlServerSqlDbSync
4947
5005
  * NOTE: This property will not be serialized. It can only be populated by the server.
4948
5006
  */
4949
5007
  readonly error?: ReportableException;
4950
- };
5008
+ }
4951
5009
 
4952
- export type MigrateSqlServerSqlDbSyncTaskOutputDatabaseError = MigrateSqlServerSqlDbSyncTaskOutput & {
5010
+ export interface MigrateSqlServerSqlDbSyncTaskOutputDatabaseError
5011
+ extends MigrateSqlServerSqlDbSyncTaskOutput {
4953
5012
  /** Polymorphic discriminator, which specifies the different types this object can be */
4954
5013
  resultType: "DatabaseLevelErrorOutput";
4955
5014
  /** Error message */
4956
5015
  errorMessage?: string;
4957
5016
  /** List of error events. */
4958
5017
  events?: SyncMigrationDatabaseErrorEvent[];
4959
- };
5018
+ }
4960
5019
 
4961
- export type MigrateSqlServerSqlDbTaskOutputMigrationLevel = MigrateSqlServerSqlDbTaskOutput & {
5020
+ export interface MigrateSqlServerSqlDbTaskOutputMigrationLevel
5021
+ extends MigrateSqlServerSqlDbTaskOutput {
4962
5022
  /** Polymorphic discriminator, which specifies the different types this object can be */
4963
5023
  resultType: "MigrationLevelOutput";
4964
5024
  /**
@@ -5030,9 +5090,10 @@ export type MigrateSqlServerSqlDbTaskOutputMigrationLevel = MigrateSqlServerSqlD
5030
5090
  * NOTE: This property will not be serialized. It can only be populated by the server.
5031
5091
  */
5032
5092
  readonly exceptionsAndWarnings?: ReportableException[];
5033
- };
5093
+ }
5034
5094
 
5035
- export type MigrateSqlServerSqlDbTaskOutputDatabaseLevel = MigrateSqlServerSqlDbTaskOutput & {
5095
+ export interface MigrateSqlServerSqlDbTaskOutputDatabaseLevel
5096
+ extends MigrateSqlServerSqlDbTaskOutput {
5036
5097
  /** Polymorphic discriminator, which specifies the different types this object can be */
5037
5098
  resultType: "DatabaseLevelOutput";
5038
5099
  /**
@@ -5105,9 +5166,10 @@ export type MigrateSqlServerSqlDbTaskOutputDatabaseLevel = MigrateSqlServerSqlDb
5105
5166
  * NOTE: This property will not be serialized. It can only be populated by the server.
5106
5167
  */
5107
5168
  readonly objectSummary?: string;
5108
- };
5169
+ }
5109
5170
 
5110
- export type MigrateSqlServerSqlDbTaskOutputTableLevel = MigrateSqlServerSqlDbTaskOutput & {
5171
+ export interface MigrateSqlServerSqlDbTaskOutputTableLevel
5172
+ extends MigrateSqlServerSqlDbTaskOutput {
5111
5173
  /** Polymorphic discriminator, which specifies the different types this object can be */
5112
5174
  resultType: "TableLevelOutput";
5113
5175
  /**
@@ -5155,9 +5217,10 @@ export type MigrateSqlServerSqlDbTaskOutputTableLevel = MigrateSqlServerSqlDbTas
5155
5217
  * NOTE: This property will not be serialized. It can only be populated by the server.
5156
5218
  */
5157
5219
  readonly resultPrefix?: string;
5158
- };
5220
+ }
5159
5221
 
5160
- export type MigrateSqlServerSqlDbTaskOutputError = MigrateSqlServerSqlDbTaskOutput & {
5222
+ export interface MigrateSqlServerSqlDbTaskOutputError
5223
+ extends MigrateSqlServerSqlDbTaskOutput {
5161
5224
  /** Polymorphic discriminator, which specifies the different types this object can be */
5162
5225
  resultType: "ErrorOutput";
5163
5226
  /**
@@ -5165,36 +5228,41 @@ export type MigrateSqlServerSqlDbTaskOutputError = MigrateSqlServerSqlDbTaskOutp
5165
5228
  * NOTE: This property will not be serialized. It can only be populated by the server.
5166
5229
  */
5167
5230
  readonly error?: ReportableException;
5168
- };
5231
+ }
5169
5232
 
5170
- export type MigrateSqlServerSqlDbTaskOutputValidationResult = MigrateSqlServerSqlDbTaskOutput &
5171
- MigrationValidationResult & {
5172
- /** Polymorphic discriminator, which specifies the different types this object can be */
5173
- resultType: "MigrationValidationOutput";
5174
- };
5233
+ export interface MigrateSqlServerSqlDbTaskOutputValidationResult
5234
+ extends MigrateSqlServerSqlDbTaskOutput,
5235
+ MigrationValidationResult {
5236
+ /** Polymorphic discriminator, which specifies the different types this object can be */
5237
+ resultType: "MigrationValidationOutput";
5238
+ }
5175
5239
 
5176
- export type MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult = MigrateSqlServerSqlDbTaskOutput &
5177
- MigrationValidationDatabaseLevelResult & {
5178
- /** Polymorphic discriminator, which specifies the different types this object can be */
5179
- resultType: "MigrationDatabaseLevelValidationOutput";
5180
- };
5240
+ export interface MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult
5241
+ extends MigrateSqlServerSqlDbTaskOutput,
5242
+ MigrationValidationDatabaseLevelResult {
5243
+ /** Polymorphic discriminator, which specifies the different types this object can be */
5244
+ resultType: "MigrationDatabaseLevelValidationOutput";
5245
+ }
5181
5246
 
5182
5247
  /** Summary of database results in the migration */
5183
- export type DatabaseSummaryResult = DataItemMigrationSummaryResult & {
5248
+ export interface DatabaseSummaryResult extends DataItemMigrationSummaryResult {
5184
5249
  /**
5185
5250
  * Size of the database in megabytes
5186
5251
  * NOTE: This property will not be serialized. It can only be populated by the server.
5187
5252
  */
5188
5253
  readonly sizeMB?: number;
5189
- };
5254
+ }
5190
5255
 
5191
5256
  /** Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance online scenario. */
5192
- export type MigrateSqlServerSqlMISyncTaskInput = SqlServerSqlMISyncTaskInput & {};
5257
+ export interface MigrateSqlServerSqlMISyncTaskInput
5258
+ extends SqlServerSqlMISyncTaskInput {}
5193
5259
 
5194
5260
  /** Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance online scenario. */
5195
- export type ValidateMigrationInputSqlServerSqlMISyncTaskInput = SqlServerSqlMISyncTaskInput & {};
5261
+ export interface ValidateMigrationInputSqlServerSqlMISyncTaskInput
5262
+ extends SqlServerSqlMISyncTaskInput {}
5196
5263
 
5197
- export type MigrateSqlServerSqlMISyncTaskOutputMigrationLevel = MigrateSqlServerSqlMISyncTaskOutput & {
5264
+ export interface MigrateSqlServerSqlMISyncTaskOutputMigrationLevel
5265
+ extends MigrateSqlServerSqlMISyncTaskOutput {
5198
5266
  /** Polymorphic discriminator, which specifies the different types this object can be */
5199
5267
  resultType: "MigrationLevelOutput";
5200
5268
  /**
@@ -5252,9 +5320,10 @@ export type MigrateSqlServerSqlMISyncTaskOutputMigrationLevel = MigrateSqlServer
5252
5320
  * NOTE: This property will not be serialized. It can only be populated by the server.
5253
5321
  */
5254
5322
  readonly databaseErrorCount?: number;
5255
- };
5323
+ }
5256
5324
 
5257
- export type MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel = MigrateSqlServerSqlMISyncTaskOutput & {
5325
+ export interface MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel
5326
+ extends MigrateSqlServerSqlMISyncTaskOutput {
5258
5327
  /** Polymorphic discriminator, which specifies the different types this object can be */
5259
5328
  resultType: "DatabaseLevelOutput";
5260
5329
  /**
@@ -5312,9 +5381,10 @@ export type MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel = MigrateSqlServerS
5312
5381
  * NOTE: This property will not be serialized. It can only be populated by the server.
5313
5382
  */
5314
5383
  readonly exceptionsAndWarnings?: ReportableException[];
5315
- };
5384
+ }
5316
5385
 
5317
- export type MigrateSqlServerSqlMISyncTaskOutputError = MigrateSqlServerSqlMISyncTaskOutput & {
5386
+ export interface MigrateSqlServerSqlMISyncTaskOutputError
5387
+ extends MigrateSqlServerSqlMISyncTaskOutput {
5318
5388
  /** Polymorphic discriminator, which specifies the different types this object can be */
5319
5389
  resultType: "ErrorOutput";
5320
5390
  /**
@@ -5322,9 +5392,10 @@ export type MigrateSqlServerSqlMISyncTaskOutputError = MigrateSqlServerSqlMISync
5322
5392
  * NOTE: This property will not be serialized. It can only be populated by the server.
5323
5393
  */
5324
5394
  readonly error?: ReportableException;
5325
- };
5395
+ }
5326
5396
 
5327
- export type MigrateSqlServerSqlMITaskOutputMigrationLevel = MigrateSqlServerSqlMITaskOutput & {
5397
+ export interface MigrateSqlServerSqlMITaskOutputMigrationLevel
5398
+ extends MigrateSqlServerSqlMITaskOutput {
5328
5399
  /** Polymorphic discriminator, which specifies the different types this object can be */
5329
5400
  resultType: "MigrationLevelOutput";
5330
5401
  /**
@@ -5402,9 +5473,10 @@ export type MigrateSqlServerSqlMITaskOutputMigrationLevel = MigrateSqlServerSqlM
5402
5473
  * NOTE: This property will not be serialized. It can only be populated by the server.
5403
5474
  */
5404
5475
  readonly exceptionsAndWarnings?: ReportableException[];
5405
- };
5476
+ }
5406
5477
 
5407
- export type MigrateSqlServerSqlMITaskOutputDatabaseLevel = MigrateSqlServerSqlMITaskOutput & {
5478
+ export interface MigrateSqlServerSqlMITaskOutputDatabaseLevel
5479
+ extends MigrateSqlServerSqlMITaskOutput {
5408
5480
  /** Polymorphic discriminator, which specifies the different types this object can be */
5409
5481
  resultType: "DatabaseLevelOutput";
5410
5482
  /**
@@ -5447,9 +5519,10 @@ export type MigrateSqlServerSqlMITaskOutputDatabaseLevel = MigrateSqlServerSqlMI
5447
5519
  * NOTE: This property will not be serialized. It can only be populated by the server.
5448
5520
  */
5449
5521
  readonly exceptionsAndWarnings?: ReportableException[];
5450
- };
5522
+ }
5451
5523
 
5452
- export type MigrateSqlServerSqlMITaskOutputAgentJobLevel = MigrateSqlServerSqlMITaskOutput & {
5524
+ export interface MigrateSqlServerSqlMITaskOutputAgentJobLevel
5525
+ extends MigrateSqlServerSqlMITaskOutput {
5453
5526
  /** Polymorphic discriminator, which specifies the different types this object can be */
5454
5527
  resultType: "AgentJobLevelOutput";
5455
5528
  /**
@@ -5487,9 +5560,10 @@ export type MigrateSqlServerSqlMITaskOutputAgentJobLevel = MigrateSqlServerSqlMI
5487
5560
  * NOTE: This property will not be serialized. It can only be populated by the server.
5488
5561
  */
5489
5562
  readonly exceptionsAndWarnings?: ReportableException[];
5490
- };
5563
+ }
5491
5564
 
5492
- export type MigrateSqlServerSqlMITaskOutputLoginLevel = MigrateSqlServerSqlMITaskOutput & {
5565
+ export interface MigrateSqlServerSqlMITaskOutputLoginLevel
5566
+ extends MigrateSqlServerSqlMITaskOutput {
5493
5567
  /** Polymorphic discriminator, which specifies the different types this object can be */
5494
5568
  resultType: "LoginLevelOutput";
5495
5569
  /**
@@ -5527,9 +5601,10 @@ export type MigrateSqlServerSqlMITaskOutputLoginLevel = MigrateSqlServerSqlMITas
5527
5601
  * NOTE: This property will not be serialized. It can only be populated by the server.
5528
5602
  */
5529
5603
  readonly exceptionsAndWarnings?: ReportableException[];
5530
- };
5604
+ }
5531
5605
 
5532
- export type MigrateSqlServerSqlMITaskOutputError = MigrateSqlServerSqlMITaskOutput & {
5606
+ export interface MigrateSqlServerSqlMITaskOutputError
5607
+ extends MigrateSqlServerSqlMITaskOutput {
5533
5608
  /** Polymorphic discriminator, which specifies the different types this object can be */
5534
5609
  resultType: "ErrorOutput";
5535
5610
  /**
@@ -5537,9 +5612,10 @@ export type MigrateSqlServerSqlMITaskOutputError = MigrateSqlServerSqlMITaskOutp
5537
5612
  * NOTE: This property will not be serialized. It can only be populated by the server.
5538
5613
  */
5539
5614
  readonly error?: ReportableException;
5540
- };
5615
+ }
5541
5616
 
5542
- export type MigrateSsisTaskOutputMigrationLevel = MigrateSsisTaskOutput & {
5617
+ export interface MigrateSsisTaskOutputMigrationLevel
5618
+ extends MigrateSsisTaskOutput {
5543
5619
  /** Polymorphic discriminator, which specifies the different types this object can be */
5544
5620
  resultType: "MigrationLevelOutput";
5545
5621
  /**
@@ -5592,9 +5668,10 @@ export type MigrateSsisTaskOutputMigrationLevel = MigrateSsisTaskOutput & {
5592
5668
  * NOTE: This property will not be serialized. It can only be populated by the server.
5593
5669
  */
5594
5670
  readonly stage?: SsisMigrationStage;
5595
- };
5671
+ }
5596
5672
 
5597
- export type MigrateSsisTaskOutputProjectLevel = MigrateSsisTaskOutput & {
5673
+ export interface MigrateSsisTaskOutputProjectLevel
5674
+ extends MigrateSsisTaskOutput {
5598
5675
  /** Polymorphic discriminator, which specifies the different types this object can be */
5599
5676
  resultType: "SsisProjectLevelOutput";
5600
5677
  /**
@@ -5637,16 +5714,16 @@ export type MigrateSsisTaskOutputProjectLevel = MigrateSsisTaskOutput & {
5637
5714
  * NOTE: This property will not be serialized. It can only be populated by the server.
5638
5715
  */
5639
5716
  readonly exceptionsAndWarnings?: ReportableException[];
5640
- };
5717
+ }
5641
5718
 
5642
5719
  /** Describes the input to the 'finish' MongoDB migration command */
5643
- export type MongoDbFinishCommandInput = MongoDbCommandInput & {
5720
+ export interface MongoDbFinishCommandInput extends MongoDbCommandInput {
5644
5721
  /** If true, replication for the affected objects will be stopped immediately. If false, the migrator will finish replaying queued events before finishing the replication. */
5645
5722
  immediate: boolean;
5646
- };
5723
+ }
5647
5724
 
5648
5725
  /** Describes a supported collection within a MongoDB database */
5649
- export type MongoDbCollectionInfo = MongoDbObjectInfo & {
5726
+ export interface MongoDbCollectionInfo extends MongoDbObjectInfo {
5650
5727
  /** The name of the database containing the collection */
5651
5728
  databaseName: string;
5652
5729
  /** Whether the collection is a capped collection (i.e. whether it has a fixed size and acts like a circular buffer) */
@@ -5661,39 +5738,40 @@ export type MongoDbCollectionInfo = MongoDbObjectInfo & {
5661
5738
  supportsSharding: boolean;
5662
5739
  /** The name of the collection that this is a view of, if IsView is true */
5663
5740
  viewOf?: string;
5664
- };
5741
+ }
5665
5742
 
5666
5743
  /** Describes a database within a MongoDB data source */
5667
- export type MongoDbDatabaseInfo = MongoDbObjectInfo & {
5744
+ export interface MongoDbDatabaseInfo extends MongoDbObjectInfo {
5668
5745
  /** A list of supported collections in a MongoDB database */
5669
5746
  collections: MongoDbCollectionInfo[];
5670
5747
  /** Whether the database has sharding enabled. Note that the migration task will enable sharding on the target if necessary. */
5671
5748
  supportsSharding: boolean;
5672
- };
5749
+ }
5673
5750
 
5674
5751
  /** Describes the progress of a collection */
5675
- export type MongoDbCollectionProgress = MongoDbProgress & {
5752
+ export interface MongoDbCollectionProgress extends MongoDbProgress {
5676
5753
  /** Polymorphic discriminator, which specifies the different types this object can be */
5677
5754
  resultType: "Collection";
5678
- };
5755
+ }
5679
5756
 
5680
5757
  /** Describes the progress of a database */
5681
- export type MongoDbDatabaseProgress = MongoDbProgress & {
5758
+ export interface MongoDbDatabaseProgress extends MongoDbProgress {
5682
5759
  /** Polymorphic discriminator, which specifies the different types this object can be */
5683
5760
  resultType: "Database";
5684
5761
  /** The progress of the collections in the database. The keys are the unqualified names of the collections */
5685
5762
  collections?: { [propertyName: string]: MongoDbCollectionProgress };
5686
- };
5763
+ }
5687
5764
 
5688
5765
  /** Describes the progress of the overall migration */
5689
- export type MongoDbMigrationProgress = MongoDbProgress & {
5766
+ export interface MongoDbMigrationProgress extends MongoDbProgress {
5690
5767
  /** Polymorphic discriminator, which specifies the different types this object can be */
5691
5768
  resultType: "Migration";
5692
5769
  /** The progress of the databases in the migration. The keys are the names of the databases */
5693
5770
  databases?: { [propertyName: string]: MongoDbDatabaseProgress };
5694
- };
5771
+ }
5695
5772
 
5696
- export type MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel = MigrateOracleAzureDbPostgreSqlSyncTaskOutput & {
5773
+ export interface MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel
5774
+ extends MigrateOracleAzureDbPostgreSqlSyncTaskOutput {
5697
5775
  /** Polymorphic discriminator, which specifies the different types this object can be */
5698
5776
  resultType: "MigrationLevelOutput";
5699
5777
  /**
@@ -5726,9 +5804,10 @@ export type MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel = Migrate
5726
5804
  * NOTE: This property will not be serialized. It can only be populated by the server.
5727
5805
  */
5728
5806
  readonly targetServer?: string;
5729
- };
5807
+ }
5730
5808
 
5731
- export type MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel = MigrateOracleAzureDbPostgreSqlSyncTaskOutput & {
5809
+ export interface MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel
5810
+ extends MigrateOracleAzureDbPostgreSqlSyncTaskOutput {
5732
5811
  /** Polymorphic discriminator, which specifies the different types this object can be */
5733
5812
  resultType: "DatabaseLevelOutput";
5734
5813
  /**
@@ -5806,9 +5885,10 @@ export type MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel = MigrateO
5806
5885
  * NOTE: This property will not be serialized. It can only be populated by the server.
5807
5886
  */
5808
5887
  readonly latency?: number;
5809
- };
5888
+ }
5810
5889
 
5811
- export type MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel = MigrateOracleAzureDbPostgreSqlSyncTaskOutput & {
5890
+ export interface MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel
5891
+ extends MigrateOracleAzureDbPostgreSqlSyncTaskOutput {
5812
5892
  /** Polymorphic discriminator, which specifies the different types this object can be */
5813
5893
  resultType: "TableLevelOutput";
5814
5894
  /**
@@ -5876,9 +5956,10 @@ export type MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel = MigrateOrac
5876
5956
  * NOTE: This property will not be serialized. It can only be populated by the server.
5877
5957
  */
5878
5958
  readonly lastModifiedTime?: Date;
5879
- };
5959
+ }
5880
5960
 
5881
- export type MigrateOracleAzureDbPostgreSqlSyncTaskOutputError = MigrateOracleAzureDbPostgreSqlSyncTaskOutput & {
5961
+ export interface MigrateOracleAzureDbPostgreSqlSyncTaskOutputError
5962
+ extends MigrateOracleAzureDbPostgreSqlSyncTaskOutput {
5882
5963
  /** Polymorphic discriminator, which specifies the different types this object can be */
5883
5964
  resultType: "ErrorOutput";
5884
5965
  /**
@@ -5886,18 +5967,20 @@ export type MigrateOracleAzureDbPostgreSqlSyncTaskOutputError = MigrateOracleAzu
5886
5967
  * NOTE: This property will not be serialized. It can only be populated by the server.
5887
5968
  */
5888
5969
  readonly error?: ReportableException;
5889
- };
5970
+ }
5890
5971
 
5891
- export type MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError = MigrateOracleAzureDbPostgreSqlSyncTaskOutput & {
5972
+ export interface MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError
5973
+ extends MigrateOracleAzureDbPostgreSqlSyncTaskOutput {
5892
5974
  /** Polymorphic discriminator, which specifies the different types this object can be */
5893
5975
  resultType: "DatabaseLevelErrorOutput";
5894
5976
  /** Error message */
5895
5977
  errorMessage?: string;
5896
5978
  /** List of error events. */
5897
5979
  events?: SyncMigrationDatabaseErrorEvent[];
5898
- };
5980
+ }
5899
5981
 
5900
- export type MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel = MigrateMySqlAzureDbForMySqlOfflineTaskOutput & {
5982
+ export interface MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel
5983
+ extends MigrateMySqlAzureDbForMySqlOfflineTaskOutput {
5901
5984
  /** Polymorphic discriminator, which specifies the different types this object can be */
5902
5985
  resultType: "MigrationLevelOutput";
5903
5986
  /**
@@ -5969,9 +6052,10 @@ export type MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel = Migrate
5969
6052
  * NOTE: This property will not be serialized. It can only be populated by the server.
5970
6053
  */
5971
6054
  readonly lastStorageUpdate?: Date;
5972
- };
6055
+ }
5973
6056
 
5974
- export type MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel = MigrateMySqlAzureDbForMySqlOfflineTaskOutput & {
6057
+ export interface MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel
6058
+ extends MigrateMySqlAzureDbForMySqlOfflineTaskOutput {
5975
6059
  /** Polymorphic discriminator, which specifies the different types this object can be */
5976
6060
  resultType: "DatabaseLevelOutput";
5977
6061
  /**
@@ -6049,9 +6133,10 @@ export type MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel = MigrateM
6049
6133
  * NOTE: This property will not be serialized. It can only be populated by the server.
6050
6134
  */
6051
6135
  readonly objectSummary?: string;
6052
- };
6136
+ }
6053
6137
 
6054
- export type MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel = MigrateMySqlAzureDbForMySqlOfflineTaskOutput & {
6138
+ export interface MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel
6139
+ extends MigrateMySqlAzureDbForMySqlOfflineTaskOutput {
6055
6140
  /** Polymorphic discriminator, which specifies the different types this object can be */
6056
6141
  resultType: "TableLevelOutput";
6057
6142
  /**
@@ -6104,9 +6189,10 @@ export type MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel = MigrateMySq
6104
6189
  * NOTE: This property will not be serialized. It can only be populated by the server.
6105
6190
  */
6106
6191
  readonly lastStorageUpdate?: Date;
6107
- };
6192
+ }
6108
6193
 
6109
- export type MigrateMySqlAzureDbForMySqlOfflineTaskOutputError = MigrateMySqlAzureDbForMySqlOfflineTaskOutput & {
6194
+ export interface MigrateMySqlAzureDbForMySqlOfflineTaskOutputError
6195
+ extends MigrateMySqlAzureDbForMySqlOfflineTaskOutput {
6110
6196
  /** Polymorphic discriminator, which specifies the different types this object can be */
6111
6197
  resultType: "ErrorOutput";
6112
6198
  /**
@@ -6114,13 +6200,17 @@ export type MigrateMySqlAzureDbForMySqlOfflineTaskOutputError = MigrateMySqlAzur
6114
6200
  * NOTE: This property will not be serialized. It can only be populated by the server.
6115
6201
  */
6116
6202
  readonly error?: ReportableException;
6117
- };
6203
+ }
6118
6204
 
6119
6205
  /** Known values of {@link CreatedByType} that the service accepts. */
6120
6206
  export enum KnownCreatedByType {
6207
+ /** User */
6121
6208
  User = "User",
6209
+ /** Application */
6122
6210
  Application = "Application",
6211
+ /** ManagedIdentity */
6123
6212
  ManagedIdentity = "ManagedIdentity",
6213
+ /** Key */
6124
6214
  Key = "Key"
6125
6215
  }
6126
6216
 
@@ -6138,7 +6228,9 @@ export type CreatedByType = string;
6138
6228
 
6139
6229
  /** Known values of {@link ResourceType} that the service accepts. */
6140
6230
  export enum KnownResourceType {
6231
+ /** SqlMi */
6141
6232
  SqlMi = "SqlMi",
6233
+ /** SqlVm */
6142
6234
  SqlVm = "SqlVm"
6143
6235
  }
6144
6236
 
@@ -6154,7 +6246,9 @@ export type ResourceType = string;
6154
6246
 
6155
6247
  /** Known values of {@link OperationOrigin} that the service accepts. */
6156
6248
  export enum KnownOperationOrigin {
6249
+ /** User */
6157
6250
  User = "user",
6251
+ /** System */
6158
6252
  System = "system"
6159
6253
  }
6160
6254
 
@@ -6170,8 +6264,11 @@ export type OperationOrigin = string;
6170
6264
 
6171
6265
  /** Known values of {@link ResourceSkuCapacityScaleType} that the service accepts. */
6172
6266
  export enum KnownResourceSkuCapacityScaleType {
6267
+ /** Automatic */
6173
6268
  Automatic = "Automatic",
6269
+ /** Manual */
6174
6270
  Manual = "Manual",
6271
+ /** None */
6175
6272
  None = "None"
6176
6273
  }
6177
6274
 
@@ -6188,6 +6285,7 @@ export type ResourceSkuCapacityScaleType = string;
6188
6285
 
6189
6286
  /** Known values of {@link ResourceSkuRestrictionsType} that the service accepts. */
6190
6287
  export enum KnownResourceSkuRestrictionsType {
6288
+ /** Location */
6191
6289
  Location = "location"
6192
6290
  }
6193
6291
 
@@ -6202,7 +6300,9 @@ export type ResourceSkuRestrictionsType = string;
6202
6300
 
6203
6301
  /** Known values of {@link ResourceSkuRestrictionsReasonCode} that the service accepts. */
6204
6302
  export enum KnownResourceSkuRestrictionsReasonCode {
6303
+ /** QuotaId */
6205
6304
  QuotaId = "QuotaId",
6305
+ /** NotAvailableForSubscription */
6206
6306
  NotAvailableForSubscription = "NotAvailableForSubscription"
6207
6307
  }
6208
6308
 
@@ -6218,15 +6318,25 @@ export type ResourceSkuRestrictionsReasonCode = string;
6218
6318
 
6219
6319
  /** Known values of {@link ServiceProvisioningState} that the service accepts. */
6220
6320
  export enum KnownServiceProvisioningState {
6321
+ /** Accepted */
6221
6322
  Accepted = "Accepted",
6323
+ /** Deleting */
6222
6324
  Deleting = "Deleting",
6325
+ /** Deploying */
6223
6326
  Deploying = "Deploying",
6327
+ /** Stopped */
6224
6328
  Stopped = "Stopped",
6329
+ /** Stopping */
6225
6330
  Stopping = "Stopping",
6331
+ /** Starting */
6226
6332
  Starting = "Starting",
6333
+ /** FailedToStart */
6227
6334
  FailedToStart = "FailedToStart",
6335
+ /** FailedToStop */
6228
6336
  FailedToStop = "FailedToStop",
6337
+ /** Succeeded */
6229
6338
  Succeeded = "Succeeded",
6339
+ /** Failed */
6230
6340
  Failed = "Failed"
6231
6341
  }
6232
6342
 
@@ -6250,8 +6360,11 @@ export type ServiceProvisioningState = string;
6250
6360
 
6251
6361
  /** Known values of {@link ServiceScalability} that the service accepts. */
6252
6362
  export enum KnownServiceScalability {
6363
+ /** None */
6253
6364
  None = "none",
6365
+ /** Manual */
6254
6366
  Manual = "manual",
6367
+ /** Automatic */
6255
6368
  Automatic = "automatic"
6256
6369
  }
6257
6370
 
@@ -6268,43 +6381,81 @@ export type ServiceScalability = string;
6268
6381
 
6269
6382
  /** Known values of {@link TaskType} that the service accepts. */
6270
6383
  export enum KnownTaskType {
6384
+ /** ConnectMongoDb */
6271
6385
  ConnectMongoDb = "Connect.MongoDb",
6386
+ /** ConnectToSourceSqlServer */
6272
6387
  ConnectToSourceSqlServer = "ConnectToSource.SqlServer",
6388
+ /** ConnectToSourceSqlServerSync */
6273
6389
  ConnectToSourceSqlServerSync = "ConnectToSource.SqlServer.Sync",
6390
+ /** ConnectToSourcePostgreSqlSync */
6274
6391
  ConnectToSourcePostgreSqlSync = "ConnectToSource.PostgreSql.Sync",
6392
+ /** ConnectToSourceMySql */
6275
6393
  ConnectToSourceMySql = "ConnectToSource.MySql",
6394
+ /** ConnectToSourceOracleSync */
6276
6395
  ConnectToSourceOracleSync = "ConnectToSource.Oracle.Sync",
6396
+ /** ConnectToTargetSqlDb */
6277
6397
  ConnectToTargetSqlDb = "ConnectToTarget.SqlDb",
6398
+ /** ConnectToTargetSqlDbSync */
6278
6399
  ConnectToTargetSqlDbSync = "ConnectToTarget.SqlDb.Sync",
6400
+ /** ConnectToTargetAzureDbForPostgreSqlSync */
6279
6401
  ConnectToTargetAzureDbForPostgreSqlSync = "ConnectToTarget.AzureDbForPostgreSql.Sync",
6402
+ /** ConnectToTargetOracleAzureDbForPostgreSqlSync */
6280
6403
  ConnectToTargetOracleAzureDbForPostgreSqlSync = "ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync",
6404
+ /** ConnectToTargetAzureSqlDbMI */
6281
6405
  ConnectToTargetAzureSqlDbMI = "ConnectToTarget.AzureSqlDbMI",
6406
+ /** ConnectToTargetAzureSqlDbMISyncLRS */
6282
6407
  ConnectToTargetAzureSqlDbMISyncLRS = "ConnectToTarget.AzureSqlDbMI.Sync.LRS",
6408
+ /** ConnectToTargetAzureDbForMySql */
6283
6409
  ConnectToTargetAzureDbForMySql = "ConnectToTarget.AzureDbForMySql",
6410
+ /** GetUserTablesSql */
6284
6411
  GetUserTablesSql = "GetUserTables.Sql",
6412
+ /** GetUserTablesAzureSqlDbSync */
6285
6413
  GetUserTablesAzureSqlDbSync = "GetUserTables.AzureSqlDb.Sync",
6414
+ /** GetUserTablesOracle */
6286
6415
  GetUserTablesOracle = "GetUserTablesOracle",
6416
+ /** GetUserTablesPostgreSql */
6287
6417
  GetUserTablesPostgreSql = "GetUserTablesPostgreSql",
6418
+ /** GetUserTablesMySql */
6288
6419
  GetUserTablesMySql = "GetUserTablesMySql",
6420
+ /** MigrateMongoDb */
6289
6421
  MigrateMongoDb = "Migrate.MongoDb",
6422
+ /** MigrateSqlServerAzureSqlDbMI */
6290
6423
  MigrateSqlServerAzureSqlDbMI = "Migrate.SqlServer.AzureSqlDbMI",
6424
+ /** MigrateSqlServerAzureSqlDbMISyncLRS */
6291
6425
  MigrateSqlServerAzureSqlDbMISyncLRS = "Migrate.SqlServer.AzureSqlDbMI.Sync.LRS",
6426
+ /** MigrateSqlServerSqlDb */
6292
6427
  MigrateSqlServerSqlDb = "Migrate.SqlServer.SqlDb",
6428
+ /** MigrateSqlServerAzureSqlDbSync */
6293
6429
  MigrateSqlServerAzureSqlDbSync = "Migrate.SqlServer.AzureSqlDb.Sync",
6430
+ /** MigrateMySqlAzureDbForMySqlSync */
6294
6431
  MigrateMySqlAzureDbForMySqlSync = "Migrate.MySql.AzureDbForMySql.Sync",
6432
+ /** MigrateMySqlAzureDbForMySql */
6295
6433
  MigrateMySqlAzureDbForMySql = "Migrate.MySql.AzureDbForMySql",
6434
+ /** MigratePostgreSqlAzureDbForPostgreSqlSyncV2 */
6296
6435
  MigratePostgreSqlAzureDbForPostgreSqlSyncV2 = "Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2",
6436
+ /** MigrateOracleAzureDbForPostgreSqlSync */
6297
6437
  MigrateOracleAzureDbForPostgreSqlSync = "Migrate.Oracle.AzureDbForPostgreSql.Sync",
6438
+ /** ValidateMigrationInputSqlServerSqlDbSync */
6298
6439
  ValidateMigrationInputSqlServerSqlDbSync = "ValidateMigrationInput.SqlServer.SqlDb.Sync",
6440
+ /** ValidateMigrationInputSqlServerAzureSqlDbMI */
6299
6441
  ValidateMigrationInputSqlServerAzureSqlDbMI = "ValidateMigrationInput.SqlServer.AzureSqlDbMI",
6442
+ /** ValidateMigrationInputSqlServerAzureSqlDbMISyncLRS */
6300
6443
  ValidateMigrationInputSqlServerAzureSqlDbMISyncLRS = "ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS",
6444
+ /** ValidateMongoDb */
6301
6445
  ValidateMongoDb = "Validate.MongoDb",
6446
+ /** ValidateOracleAzureDbPostgreSqlSync */
6302
6447
  ValidateOracleAzureDbPostgreSqlSync = "Validate.Oracle.AzureDbPostgreSql.Sync",
6448
+ /** GetTDECertificatesSql */
6303
6449
  GetTDECertificatesSql = "GetTDECertificates.Sql",
6450
+ /** MigrateSsis */
6304
6451
  MigrateSsis = "Migrate.Ssis",
6452
+ /** ServiceCheckOCI */
6305
6453
  ServiceCheckOCI = "Service.Check.OCI",
6454
+ /** ServiceUploadOCI */
6306
6455
  ServiceUploadOCI = "Service.Upload.OCI",
6456
+ /** ServiceInstallOCI */
6307
6457
  ServiceInstallOCI = "Service.Install.OCI",
6458
+ /** MigrateSchemaSqlServerSqlDb */
6308
6459
  MigrateSchemaSqlServerSqlDb = "MigrateSchemaSqlServerSqlDb"
6309
6460
  }
6310
6461
 
@@ -6356,13 +6507,21 @@ export type TaskType = string;
6356
6507
 
6357
6508
  /** Known values of {@link TaskState} that the service accepts. */
6358
6509
  export enum KnownTaskState {
6510
+ /** Unknown */
6359
6511
  Unknown = "Unknown",
6512
+ /** Queued */
6360
6513
  Queued = "Queued",
6514
+ /** Running */
6361
6515
  Running = "Running",
6516
+ /** Canceled */
6362
6517
  Canceled = "Canceled",
6518
+ /** Succeeded */
6363
6519
  Succeeded = "Succeeded",
6520
+ /** Failed */
6364
6521
  Failed = "Failed",
6522
+ /** FailedInputValidation */
6365
6523
  FailedInputValidation = "FailedInputValidation",
6524
+ /** Faulted */
6366
6525
  Faulted = "Faulted"
6367
6526
  }
6368
6527
 
@@ -6384,10 +6543,15 @@ export type TaskState = string;
6384
6543
 
6385
6544
  /** Known values of {@link CommandType} that the service accepts. */
6386
6545
  export enum KnownCommandType {
6546
+ /** MigrateSyncCompleteDatabase */
6387
6547
  MigrateSyncCompleteDatabase = "Migrate.Sync.Complete.Database",
6548
+ /** MigrateSqlServerAzureDbSqlMiComplete */
6388
6549
  MigrateSqlServerAzureDbSqlMiComplete = "Migrate.SqlServer.AzureDbSqlMi.Complete",
6550
+ /** Cancel */
6389
6551
  Cancel = "cancel",
6552
+ /** Finish */
6390
6553
  Finish = "finish",
6554
+ /** Restart */
6391
6555
  Restart = "restart"
6392
6556
  }
6393
6557
 
@@ -6406,10 +6570,15 @@ export type CommandType = string;
6406
6570
 
6407
6571
  /** Known values of {@link CommandState} that the service accepts. */
6408
6572
  export enum KnownCommandState {
6573
+ /** Unknown */
6409
6574
  Unknown = "Unknown",
6575
+ /** Accepted */
6410
6576
  Accepted = "Accepted",
6577
+ /** Running */
6411
6578
  Running = "Running",
6579
+ /** Succeeded */
6412
6580
  Succeeded = "Succeeded",
6581
+ /** Failed */
6413
6582
  Failed = "Failed"
6414
6583
  }
6415
6584
 
@@ -6428,7 +6597,9 @@ export type CommandState = string;
6428
6597
 
6429
6598
  /** Known values of {@link NameCheckFailureReason} that the service accepts. */
6430
6599
  export enum KnownNameCheckFailureReason {
6600
+ /** AlreadyExists */
6431
6601
  AlreadyExists = "AlreadyExists",
6602
+ /** Invalid */
6432
6603
  Invalid = "Invalid"
6433
6604
  }
6434
6605
 
@@ -6444,10 +6615,15 @@ export type NameCheckFailureReason = string;
6444
6615
 
6445
6616
  /** Known values of {@link ProjectSourcePlatform} that the service accepts. */
6446
6617
  export enum KnownProjectSourcePlatform {
6618
+ /** SQL */
6447
6619
  SQL = "SQL",
6620
+ /** MySQL */
6448
6621
  MySQL = "MySQL",
6622
+ /** PostgreSql */
6449
6623
  PostgreSql = "PostgreSql",
6624
+ /** MongoDb */
6450
6625
  MongoDb = "MongoDb",
6626
+ /** Unknown */
6451
6627
  Unknown = "Unknown"
6452
6628
  }
6453
6629
 
@@ -6466,11 +6642,17 @@ export type ProjectSourcePlatform = string;
6466
6642
 
6467
6643
  /** Known values of {@link ProjectTargetPlatform} that the service accepts. */
6468
6644
  export enum KnownProjectTargetPlatform {
6645
+ /** Sqldb */
6469
6646
  Sqldb = "SQLDB",
6647
+ /** Sqlmi */
6470
6648
  Sqlmi = "SQLMI",
6649
+ /** AzureDbForMySql */
6471
6650
  AzureDbForMySql = "AzureDbForMySql",
6651
+ /** AzureDbForPostgreSql */
6472
6652
  AzureDbForPostgreSql = "AzureDbForPostgreSql",
6653
+ /** MongoDb */
6473
6654
  MongoDb = "MongoDb",
6655
+ /** Unknown */
6474
6656
  Unknown = "Unknown"
6475
6657
  }
6476
6658
 
@@ -6490,7 +6672,9 @@ export type ProjectTargetPlatform = string;
6490
6672
 
6491
6673
  /** Known values of {@link ProjectProvisioningState} that the service accepts. */
6492
6674
  export enum KnownProjectProvisioningState {
6675
+ /** Deleting */
6493
6676
  Deleting = "Deleting",
6677
+ /** Succeeded */
6494
6678
  Succeeded = "Succeeded"
6495
6679
  }
6496
6680
 
@@ -6506,10 +6690,15 @@ export type ProjectProvisioningState = string;
6506
6690
 
6507
6691
  /** Known values of {@link AuthenticationType} that the service accepts. */
6508
6692
  export enum KnownAuthenticationType {
6693
+ /** None */
6509
6694
  None = "None",
6695
+ /** WindowsAuthentication */
6510
6696
  WindowsAuthentication = "WindowsAuthentication",
6697
+ /** SqlAuthentication */
6511
6698
  SqlAuthentication = "SqlAuthentication",
6699
+ /** ActiveDirectoryIntegrated */
6512
6700
  ActiveDirectoryIntegrated = "ActiveDirectoryIntegrated",
6701
+ /** ActiveDirectoryPassword */
6513
6702
  ActiveDirectoryPassword = "ActiveDirectoryPassword"
6514
6703
  }
6515
6704
 
@@ -6528,6 +6717,7 @@ export type AuthenticationType = string;
6528
6717
 
6529
6718
  /** Known values of {@link SqlSourcePlatform} that the service accepts. */
6530
6719
  export enum KnownSqlSourcePlatform {
6720
+ /** SqlOnPrem */
6531
6721
  SqlOnPrem = "SqlOnPrem"
6532
6722
  }
6533
6723
 
@@ -6542,12 +6732,19 @@ export type SqlSourcePlatform = string;
6542
6732
 
6543
6733
  /** Known values of {@link BackupType} that the service accepts. */
6544
6734
  export enum KnownBackupType {
6735
+ /** Database */
6545
6736
  Database = "Database",
6737
+ /** TransactionLog */
6546
6738
  TransactionLog = "TransactionLog",
6739
+ /** File */
6547
6740
  File = "File",
6741
+ /** DifferentialDatabase */
6548
6742
  DifferentialDatabase = "DifferentialDatabase",
6743
+ /** DifferentialFile */
6549
6744
  DifferentialFile = "DifferentialFile",
6745
+ /** Partial */
6550
6746
  Partial = "Partial",
6747
+ /** DifferentialPartial */
6551
6748
  DifferentialPartial = "DifferentialPartial"
6552
6749
  }
6553
6750
 
@@ -6568,12 +6765,19 @@ export type BackupType = string;
6568
6765
 
6569
6766
  /** Known values of {@link BackupFileStatus} that the service accepts. */
6570
6767
  export enum KnownBackupFileStatus {
6768
+ /** Arrived */
6571
6769
  Arrived = "Arrived",
6770
+ /** Queued */
6572
6771
  Queued = "Queued",
6772
+ /** Uploading */
6573
6773
  Uploading = "Uploading",
6774
+ /** Uploaded */
6574
6775
  Uploaded = "Uploaded",
6776
+ /** Restoring */
6575
6777
  Restoring = "Restoring",
6778
+ /** Restored */
6576
6779
  Restored = "Restored",
6780
+ /** Cancelled */
6577
6781
  Cancelled = "Cancelled"
6578
6782
  }
6579
6783
 
@@ -6594,7 +6798,9 @@ export type BackupFileStatus = string;
6594
6798
 
6595
6799
  /** Known values of {@link MySqlTargetPlatformType} that the service accepts. */
6596
6800
  export enum KnownMySqlTargetPlatformType {
6801
+ /** SqlServer */
6597
6802
  SqlServer = "SqlServer",
6803
+ /** AzureDbForMySQL */
6598
6804
  AzureDbForMySQL = "AzureDbForMySQL"
6599
6805
  }
6600
6806
 
@@ -6610,10 +6816,15 @@ export type MySqlTargetPlatformType = string;
6610
6816
 
6611
6817
  /** Known values of {@link DatabaseFileType} that the service accepts. */
6612
6818
  export enum KnownDatabaseFileType {
6819
+ /** Rows */
6613
6820
  Rows = "Rows",
6821
+ /** Log */
6614
6822
  Log = "Log",
6823
+ /** Filestream */
6615
6824
  Filestream = "Filestream",
6825
+ /** NotSupported */
6616
6826
  NotSupported = "NotSupported",
6827
+ /** Fulltext */
6617
6828
  Fulltext = "Fulltext"
6618
6829
  }
6619
6830
 
@@ -6632,12 +6843,19 @@ export type DatabaseFileType = string;
6632
6843
 
6633
6844
  /** Known values of {@link DatabaseCompatLevel} that the service accepts. */
6634
6845
  export enum KnownDatabaseCompatLevel {
6846
+ /** CompatLevel80 */
6635
6847
  CompatLevel80 = "CompatLevel80",
6848
+ /** CompatLevel90 */
6636
6849
  CompatLevel90 = "CompatLevel90",
6850
+ /** CompatLevel100 */
6637
6851
  CompatLevel100 = "CompatLevel100",
6852
+ /** CompatLevel110 */
6638
6853
  CompatLevel110 = "CompatLevel110",
6854
+ /** CompatLevel120 */
6639
6855
  CompatLevel120 = "CompatLevel120",
6856
+ /** CompatLevel130 */
6640
6857
  CompatLevel130 = "CompatLevel130",
6858
+ /** CompatLevel140 */
6641
6859
  CompatLevel140 = "CompatLevel140"
6642
6860
  }
6643
6861
 
@@ -6658,14 +6876,23 @@ export type DatabaseCompatLevel = string;
6658
6876
 
6659
6877
  /** Known values of {@link DatabaseState} that the service accepts. */
6660
6878
  export enum KnownDatabaseState {
6879
+ /** Online */
6661
6880
  Online = "Online",
6881
+ /** Restoring */
6662
6882
  Restoring = "Restoring",
6883
+ /** Recovering */
6663
6884
  Recovering = "Recovering",
6885
+ /** RecoveryPending */
6664
6886
  RecoveryPending = "RecoveryPending",
6887
+ /** Suspect */
6665
6888
  Suspect = "Suspect",
6889
+ /** Emergency */
6666
6890
  Emergency = "Emergency",
6891
+ /** Offline */
6667
6892
  Offline = "Offline",
6893
+ /** Copying */
6668
6894
  Copying = "Copying",
6895
+ /** OfflineSecondary */
6669
6896
  OfflineSecondary = "OfflineSecondary"
6670
6897
  }
6671
6898
 
@@ -6688,12 +6915,19 @@ export type DatabaseState = string;
6688
6915
 
6689
6916
  /** Known values of {@link LoginType} that the service accepts. */
6690
6917
  export enum KnownLoginType {
6918
+ /** WindowsUser */
6691
6919
  WindowsUser = "WindowsUser",
6920
+ /** WindowsGroup */
6692
6921
  WindowsGroup = "WindowsGroup",
6922
+ /** SqlLogin */
6693
6923
  SqlLogin = "SqlLogin",
6924
+ /** Certificate */
6694
6925
  Certificate = "Certificate",
6926
+ /** AsymmetricKey */
6695
6927
  AsymmetricKey = "AsymmetricKey",
6928
+ /** ExternalUser */
6696
6929
  ExternalUser = "ExternalUser",
6930
+ /** ExternalGroup */
6697
6931
  ExternalGroup = "ExternalGroup"
6698
6932
  }
6699
6933
 
@@ -6714,8 +6948,11 @@ export type LoginType = string;
6714
6948
 
6715
6949
  /** Known values of {@link SchemaMigrationOption} that the service accepts. */
6716
6950
  export enum KnownSchemaMigrationOption {
6951
+ /** None */
6717
6952
  None = "None",
6953
+ /** ExtractFromSource */
6718
6954
  ExtractFromSource = "ExtractFromSource",
6955
+ /** UseStorageFile */
6719
6956
  UseStorageFile = "UseStorageFile"
6720
6957
  }
6721
6958
 
@@ -6732,12 +6969,19 @@ export type SchemaMigrationOption = string;
6732
6969
 
6733
6970
  /** Known values of {@link MigrationState} that the service accepts. */
6734
6971
  export enum KnownMigrationState {
6972
+ /** None */
6735
6973
  None = "None",
6974
+ /** InProgress */
6736
6975
  InProgress = "InProgress",
6976
+ /** Failed */
6737
6977
  Failed = "Failed",
6978
+ /** Warning */
6738
6979
  Warning = "Warning",
6980
+ /** Completed */
6739
6981
  Completed = "Completed",
6982
+ /** Skipped */
6740
6983
  Skipped = "Skipped",
6984
+ /** Stopped */
6741
6985
  Stopped = "Stopped"
6742
6986
  }
6743
6987
 
@@ -6758,15 +7002,25 @@ export type MigrationState = string;
6758
7002
 
6759
7003
  /** Known values of {@link SchemaMigrationStage} that the service accepts. */
6760
7004
  export enum KnownSchemaMigrationStage {
7005
+ /** NotStarted */
6761
7006
  NotStarted = "NotStarted",
7007
+ /** ValidatingInputs */
6762
7008
  ValidatingInputs = "ValidatingInputs",
7009
+ /** CollectingObjects */
6763
7010
  CollectingObjects = "CollectingObjects",
7011
+ /** DownloadingScript */
6764
7012
  DownloadingScript = "DownloadingScript",
7013
+ /** GeneratingScript */
6765
7014
  GeneratingScript = "GeneratingScript",
7015
+ /** UploadingScript */
6766
7016
  UploadingScript = "UploadingScript",
7017
+ /** DeployingSchema */
6767
7018
  DeployingSchema = "DeployingSchema",
7019
+ /** Completed */
6768
7020
  Completed = "Completed",
7021
+ /** CompletedWithWarnings */
6769
7022
  CompletedWithWarnings = "CompletedWithWarnings",
7023
+ /** Failed */
6770
7024
  Failed = "Failed"
6771
7025
  }
6772
7026
 
@@ -6790,23 +7044,41 @@ export type SchemaMigrationStage = string;
6790
7044
 
6791
7045
  /** Known values of {@link SyncDatabaseMigrationReportingState} that the service accepts. */
6792
7046
  export enum KnownSyncDatabaseMigrationReportingState {
7047
+ /** Undefined */
6793
7048
  Undefined = "UNDEFINED",
7049
+ /** Configuring */
6794
7050
  Configuring = "CONFIGURING",
7051
+ /** Initialiazing */
6795
7052
  Initialiazing = "INITIALIAZING",
7053
+ /** Starting */
6796
7054
  Starting = "STARTING",
7055
+ /** Running */
6797
7056
  Running = "RUNNING",
7057
+ /** ReadyTOComplete */
6798
7058
  ReadyTOComplete = "READY_TO_COMPLETE",
7059
+ /** Completing */
6799
7060
  Completing = "COMPLETING",
7061
+ /** Complete */
6800
7062
  Complete = "COMPLETE",
7063
+ /** Cancelling */
6801
7064
  Cancelling = "CANCELLING",
7065
+ /** Cancelled */
6802
7066
  Cancelled = "CANCELLED",
7067
+ /** Failed */
6803
7068
  Failed = "FAILED",
7069
+ /** Validating */
6804
7070
  Validating = "VALIDATING",
7071
+ /** ValidationComplete */
6805
7072
  ValidationComplete = "VALIDATION_COMPLETE",
7073
+ /** ValidationFailed */
6806
7074
  ValidationFailed = "VALIDATION_FAILED",
7075
+ /** RestoreINProgress */
6807
7076
  RestoreINProgress = "RESTORE_IN_PROGRESS",
7077
+ /** RestoreCompleted */
6808
7078
  RestoreCompleted = "RESTORE_COMPLETED",
7079
+ /** BackupINProgress */
6809
7080
  BackupINProgress = "BACKUP_IN_PROGRESS",
7081
+ /** BackupCompleted */
6810
7082
  BackupCompleted = "BACKUP_COMPLETED"
6811
7083
  }
6812
7084
 
@@ -6838,11 +7110,17 @@ export type SyncDatabaseMigrationReportingState = string;
6838
7110
 
6839
7111
  /** Known values of {@link SyncTableMigrationState} that the service accepts. */
6840
7112
  export enum KnownSyncTableMigrationState {
7113
+ /** BeforeLoad */
6841
7114
  BeforeLoad = "BEFORE_LOAD",
7115
+ /** FullLoad */
6842
7116
  FullLoad = "FULL_LOAD",
7117
+ /** Completed */
6843
7118
  Completed = "COMPLETED",
7119
+ /** Canceled */
6844
7120
  Canceled = "CANCELED",
7121
+ /** Error */
6845
7122
  Error = "ERROR",
7123
+ /** Failed */
6846
7124
  Failed = "FAILED"
6847
7125
  }
6848
7126
 
@@ -6862,16 +7140,27 @@ export type SyncTableMigrationState = string;
6862
7140
 
6863
7141
  /** Known values of {@link ScenarioSource} that the service accepts. */
6864
7142
  export enum KnownScenarioSource {
7143
+ /** Access */
6865
7144
  Access = "Access",
7145
+ /** DB2 */
6866
7146
  DB2 = "DB2",
7147
+ /** MySQL */
6867
7148
  MySQL = "MySQL",
7149
+ /** Oracle */
6868
7150
  Oracle = "Oracle",
7151
+ /** SQL */
6869
7152
  SQL = "SQL",
7153
+ /** Sybase */
6870
7154
  Sybase = "Sybase",
7155
+ /** PostgreSQL */
6871
7156
  PostgreSQL = "PostgreSQL",
7157
+ /** MongoDB */
6872
7158
  MongoDB = "MongoDB",
7159
+ /** Sqlrds */
6873
7160
  Sqlrds = "SQLRDS",
7161
+ /** MySqlrds */
6874
7162
  MySqlrds = "MySQLRDS",
7163
+ /** PostgreSqlrds */
6875
7164
  PostgreSqlrds = "PostgreSQLRDS"
6876
7165
  }
6877
7166
 
@@ -6896,12 +7185,19 @@ export type ScenarioSource = string;
6896
7185
 
6897
7186
  /** Known values of {@link ScenarioTarget} that the service accepts. */
6898
7187
  export enum KnownScenarioTarget {
7188
+ /** SQLServer */
6899
7189
  SQLServer = "SQLServer",
7190
+ /** Sqldb */
6900
7191
  Sqldb = "SQLDB",
7192
+ /** Sqldw */
6901
7193
  Sqldw = "SQLDW",
7194
+ /** Sqlmi */
6902
7195
  Sqlmi = "SQLMI",
7196
+ /** AzureDBForMySql */
6903
7197
  AzureDBForMySql = "AzureDBForMySql",
7198
+ /** AzureDBForPostgresSQL */
6904
7199
  AzureDBForPostgresSQL = "AzureDBForPostgresSQL",
7200
+ /** MongoDB */
6905
7201
  MongoDB = "MongoDB"
6906
7202
  }
6907
7203
 
@@ -6922,11 +7218,17 @@ export type ScenarioTarget = string;
6922
7218
 
6923
7219
  /** Known values of {@link ReplicateMigrationState} that the service accepts. */
6924
7220
  export enum KnownReplicateMigrationState {
7221
+ /** Undefined */
6925
7222
  Undefined = "UNDEFINED",
7223
+ /** Validating */
6926
7224
  Validating = "VALIDATING",
7225
+ /** Pending */
6927
7226
  Pending = "PENDING",
7227
+ /** Complete */
6928
7228
  Complete = "COMPLETE",
7229
+ /** ActionRequired */
6929
7230
  ActionRequired = "ACTION_REQUIRED",
7231
+ /** Failed */
6930
7232
  Failed = "FAILED"
6931
7233
  }
6932
7234
 
@@ -6946,15 +7248,25 @@ export type ReplicateMigrationState = string;
6946
7248
 
6947
7249
  /** Known values of {@link MigrationStatus} that the service accepts. */
6948
7250
  export enum KnownMigrationStatus {
7251
+ /** Default */
6949
7252
  Default = "Default",
7253
+ /** Connecting */
6950
7254
  Connecting = "Connecting",
7255
+ /** SourceAndTargetSelected */
6951
7256
  SourceAndTargetSelected = "SourceAndTargetSelected",
7257
+ /** SelectLogins */
6952
7258
  SelectLogins = "SelectLogins",
7259
+ /** Configured */
6953
7260
  Configured = "Configured",
7261
+ /** Running */
6954
7262
  Running = "Running",
7263
+ /** Error */
6955
7264
  Error = "Error",
7265
+ /** Stopped */
6956
7266
  Stopped = "Stopped",
7267
+ /** Completed */
6957
7268
  Completed = "Completed",
7269
+ /** CompletedWithWarnings */
6958
7270
  CompletedWithWarnings = "CompletedWithWarnings"
6959
7271
  }
6960
7272
 
@@ -6978,13 +7290,21 @@ export type MigrationStatus = string;
6978
7290
 
6979
7291
  /** Known values of {@link ValidationStatus} that the service accepts. */
6980
7292
  export enum KnownValidationStatus {
7293
+ /** Default */
6981
7294
  Default = "Default",
7295
+ /** NotStarted */
6982
7296
  NotStarted = "NotStarted",
7297
+ /** Initialized */
6983
7298
  Initialized = "Initialized",
7299
+ /** InProgress */
6984
7300
  InProgress = "InProgress",
7301
+ /** Completed */
6985
7302
  Completed = "Completed",
7303
+ /** CompletedWithIssues */
6986
7304
  CompletedWithIssues = "CompletedWithIssues",
7305
+ /** Stopped */
6987
7306
  Stopped = "Stopped",
7307
+ /** Failed */
6988
7308
  Failed = "Failed"
6989
7309
  }
6990
7310
 
@@ -7006,11 +7326,17 @@ export type ValidationStatus = string;
7006
7326
 
7007
7327
  /** Known values of {@link DatabaseMigrationStage} that the service accepts. */
7008
7328
  export enum KnownDatabaseMigrationStage {
7329
+ /** None */
7009
7330
  None = "None",
7331
+ /** Initialize */
7010
7332
  Initialize = "Initialize",
7333
+ /** Backup */
7011
7334
  Backup = "Backup",
7335
+ /** FileCopy */
7012
7336
  FileCopy = "FileCopy",
7337
+ /** Restore */
7013
7338
  Restore = "Restore",
7339
+ /** Completed */
7014
7340
  Completed = "Completed"
7015
7341
  }
7016
7342
 
@@ -7030,8 +7356,11 @@ export type DatabaseMigrationStage = string;
7030
7356
 
7031
7357
  /** Known values of {@link Severity} that the service accepts. */
7032
7358
  export enum KnownSeverity {
7359
+ /** Message */
7033
7360
  Message = "Message",
7361
+ /** Warning */
7034
7362
  Warning = "Warning",
7363
+ /** Error */
7035
7364
  Error = "Error"
7036
7365
  }
7037
7366
 
@@ -7048,10 +7377,15 @@ export type Severity = string;
7048
7377
 
7049
7378
  /** Known values of {@link ObjectType} that the service accepts. */
7050
7379
  export enum KnownObjectType {
7380
+ /** StoredProcedures */
7051
7381
  StoredProcedures = "StoredProcedures",
7382
+ /** Table */
7052
7383
  Table = "Table",
7384
+ /** User */
7053
7385
  User = "User",
7386
+ /** View */
7054
7387
  View = "View",
7388
+ /** Function */
7055
7389
  Function = "Function"
7056
7390
  }
7057
7391
 
@@ -7070,8 +7404,11 @@ export type ObjectType = string;
7070
7404
 
7071
7405
  /** Known values of {@link UpdateActionType} that the service accepts. */
7072
7406
  export enum KnownUpdateActionType {
7407
+ /** DeletedOnTarget */
7073
7408
  DeletedOnTarget = "DeletedOnTarget",
7409
+ /** ChangedOnTarget */
7074
7410
  ChangedOnTarget = "ChangedOnTarget",
7411
+ /** AddedOnTarget */
7075
7412
  AddedOnTarget = "AddedOnTarget"
7076
7413
  }
7077
7414
 
@@ -7088,15 +7425,25 @@ export type UpdateActionType = string;
7088
7425
 
7089
7426
  /** Known values of {@link DatabaseMigrationState} that the service accepts. */
7090
7427
  export enum KnownDatabaseMigrationState {
7428
+ /** Undefined */
7091
7429
  Undefined = "UNDEFINED",
7430
+ /** Initial */
7092
7431
  Initial = "INITIAL",
7432
+ /** FullBackupUploadStart */
7093
7433
  FullBackupUploadStart = "FULL_BACKUP_UPLOAD_START",
7434
+ /** LOGShippingStart */
7094
7435
  LOGShippingStart = "LOG_SHIPPING_START",
7436
+ /** UploadLOGFilesStart */
7095
7437
  UploadLOGFilesStart = "UPLOAD_LOG_FILES_START",
7438
+ /** CutoverStart */
7096
7439
  CutoverStart = "CUTOVER_START",
7440
+ /** PostCutoverComplete */
7097
7441
  PostCutoverComplete = "POST_CUTOVER_COMPLETE",
7442
+ /** Completed */
7098
7443
  Completed = "COMPLETED",
7444
+ /** Cancelled */
7099
7445
  Cancelled = "CANCELLED",
7446
+ /** Failed */
7100
7447
  Failed = "FAILED"
7101
7448
  }
7102
7449
 
@@ -7120,7 +7467,9 @@ export type DatabaseMigrationState = string;
7120
7467
 
7121
7468
  /** Known values of {@link BackupMode} that the service accepts. */
7122
7469
  export enum KnownBackupMode {
7470
+ /** CreateBackup */
7123
7471
  CreateBackup = "CreateBackup",
7472
+ /** ExistingBackup */
7124
7473
  ExistingBackup = "ExistingBackup"
7125
7474
  }
7126
7475
 
@@ -7136,14 +7485,23 @@ export type BackupMode = string;
7136
7485
 
7137
7486
  /** Known values of {@link LoginMigrationStage} that the service accepts. */
7138
7487
  export enum KnownLoginMigrationStage {
7488
+ /** None */
7139
7489
  None = "None",
7490
+ /** Initialize */
7140
7491
  Initialize = "Initialize",
7492
+ /** LoginMigration */
7141
7493
  LoginMigration = "LoginMigration",
7494
+ /** EstablishUserMapping */
7142
7495
  EstablishUserMapping = "EstablishUserMapping",
7496
+ /** AssignRoleMembership */
7143
7497
  AssignRoleMembership = "AssignRoleMembership",
7498
+ /** AssignRoleOwnership */
7144
7499
  AssignRoleOwnership = "AssignRoleOwnership",
7500
+ /** EstablishServerPermissions */
7145
7501
  EstablishServerPermissions = "EstablishServerPermissions",
7502
+ /** EstablishObjectPermissions */
7146
7503
  EstablishObjectPermissions = "EstablishObjectPermissions",
7504
+ /** Completed */
7147
7505
  Completed = "Completed"
7148
7506
  }
7149
7507
 
@@ -7166,6 +7524,7 @@ export type LoginMigrationStage = string;
7166
7524
 
7167
7525
  /** Known values of {@link SsisStoreType} that the service accepts. */
7168
7526
  export enum KnownSsisStoreType {
7527
+ /** SsisCatalog */
7169
7528
  SsisCatalog = "SsisCatalog"
7170
7529
  }
7171
7530
 
@@ -7180,7 +7539,9 @@ export type SsisStoreType = string;
7180
7539
 
7181
7540
  /** Known values of {@link SsisMigrationOverwriteOption} that the service accepts. */
7182
7541
  export enum KnownSsisMigrationOverwriteOption {
7542
+ /** Ignore */
7183
7543
  Ignore = "Ignore",
7544
+ /** Overwrite */
7184
7545
  Overwrite = "Overwrite"
7185
7546
  }
7186
7547
 
@@ -7196,9 +7557,13 @@ export type SsisMigrationOverwriteOption = string;
7196
7557
 
7197
7558
  /** Known values of {@link SsisMigrationStage} that the service accepts. */
7198
7559
  export enum KnownSsisMigrationStage {
7560
+ /** None */
7199
7561
  None = "None",
7562
+ /** Initialize */
7200
7563
  Initialize = "Initialize",
7564
+ /** InProgress */
7201
7565
  InProgress = "InProgress",
7566
+ /** Completed */
7202
7567
  Completed = "Completed"
7203
7568
  }
7204
7569
 
@@ -7216,8 +7581,11 @@ export type SsisMigrationStage = string;
7216
7581
 
7217
7582
  /** Known values of {@link MongoDbShardKeyOrder} that the service accepts. */
7218
7583
  export enum KnownMongoDbShardKeyOrder {
7584
+ /** Forward */
7219
7585
  Forward = "Forward",
7586
+ /** Reverse */
7220
7587
  Reverse = "Reverse",
7588
+ /** Hashed */
7221
7589
  Hashed = "Hashed"
7222
7590
  }
7223
7591
 
@@ -7234,8 +7602,11 @@ export type MongoDbShardKeyOrder = string;
7234
7602
 
7235
7603
  /** Known values of {@link MongoDbClusterType} that the service accepts. */
7236
7604
  export enum KnownMongoDbClusterType {
7605
+ /** BlobContainer */
7237
7606
  BlobContainer = "BlobContainer",
7607
+ /** CosmosDb */
7238
7608
  CosmosDb = "CosmosDb",
7609
+ /** MongoDb */
7239
7610
  MongoDb = "MongoDb"
7240
7611
  }
7241
7612
 
@@ -7252,8 +7623,11 @@ export type MongoDbClusterType = string;
7252
7623
 
7253
7624
  /** Known values of {@link MongoDbErrorType} that the service accepts. */
7254
7625
  export enum KnownMongoDbErrorType {
7626
+ /** Error */
7255
7627
  Error = "Error",
7628
+ /** ValidationError */
7256
7629
  ValidationError = "ValidationError",
7630
+ /** Warning */
7257
7631
  Warning = "Warning"
7258
7632
  }
7259
7633
 
@@ -7270,8 +7644,11 @@ export type MongoDbErrorType = string;
7270
7644
 
7271
7645
  /** Known values of {@link MongoDbProgressResultType} that the service accepts. */
7272
7646
  export enum KnownMongoDbProgressResultType {
7647
+ /** Migration */
7273
7648
  Migration = "Migration",
7649
+ /** Database */
7274
7650
  Database = "Database",
7651
+ /** Collection */
7275
7652
  Collection = "Collection"
7276
7653
  }
7277
7654
 
@@ -7288,16 +7665,27 @@ export type MongoDbProgressResultType = string;
7288
7665
 
7289
7666
  /** Known values of {@link MongoDbMigrationState} that the service accepts. */
7290
7667
  export enum KnownMongoDbMigrationState {
7668
+ /** NotStarted */
7291
7669
  NotStarted = "NotStarted",
7670
+ /** ValidatingInput */
7292
7671
  ValidatingInput = "ValidatingInput",
7672
+ /** Initializing */
7293
7673
  Initializing = "Initializing",
7674
+ /** Restarting */
7294
7675
  Restarting = "Restarting",
7676
+ /** Copying */
7295
7677
  Copying = "Copying",
7678
+ /** InitialReplay */
7296
7679
  InitialReplay = "InitialReplay",
7680
+ /** Replaying */
7297
7681
  Replaying = "Replaying",
7682
+ /** Finalizing */
7298
7683
  Finalizing = "Finalizing",
7684
+ /** Complete */
7299
7685
  Complete = "Complete",
7686
+ /** Canceled */
7300
7687
  Canceled = "Canceled",
7688
+ /** Failed */
7301
7689
  Failed = "Failed"
7302
7690
  }
7303
7691
 
@@ -7322,8 +7710,11 @@ export type MongoDbMigrationState = string;
7322
7710
 
7323
7711
  /** Known values of {@link MongoDbReplication} that the service accepts. */
7324
7712
  export enum KnownMongoDbReplication {
7713
+ /** Disabled */
7325
7714
  Disabled = "Disabled",
7715
+ /** OneTime */
7326
7716
  OneTime = "OneTime",
7717
+ /** Continuous */
7327
7718
  Continuous = "Continuous"
7328
7719
  }
7329
7720
 
@@ -7340,11 +7731,17 @@ export type MongoDbReplication = string;
7340
7731
 
7341
7732
  /** Known values of {@link DataMigrationResultCode} that the service accepts. */
7342
7733
  export enum KnownDataMigrationResultCode {
7734
+ /** Initial */
7343
7735
  Initial = "Initial",
7736
+ /** Completed */
7344
7737
  Completed = "Completed",
7738
+ /** ObjectNotExistsInSource */
7345
7739
  ObjectNotExistsInSource = "ObjectNotExistsInSource",
7740
+ /** ObjectNotExistsInTarget */
7346
7741
  ObjectNotExistsInTarget = "ObjectNotExistsInTarget",
7742
+ /** TargetObjectIsInaccessible */
7347
7743
  TargetObjectIsInaccessible = "TargetObjectIsInaccessible",
7744
+ /** FatalError */
7348
7745
  FatalError = "FatalError"
7349
7746
  }
7350
7747
 
@@ -7364,8 +7761,11 @@ export type DataMigrationResultCode = string;
7364
7761
 
7365
7762
  /** Known values of {@link ErrorType} that the service accepts. */
7366
7763
  export enum KnownErrorType {
7764
+ /** Default */
7367
7765
  Default = "Default",
7766
+ /** Warning */
7368
7767
  Warning = "Warning",
7768
+ /** Error */
7369
7769
  Error = "Error"
7370
7770
  }
7371
7771