-
Notifications
You must be signed in to change notification settings - Fork 5.1k
/
TasksCommon.json
1312 lines (1312 loc) · 37.2 KB
/
TasksCommon.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"swagger": "2.0",
"info": {
"title": "Azure Database Migration Service (classic) Resource Provider",
"version": "2022-03-30-preview"
},
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"paths": {},
"definitions": {
"Database": {
"type": "object",
"description": "Information about a single database",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the database"
},
"name": {
"type": "string",
"description": "Name of the database"
},
"compatibilityLevel": {
"$ref": "#/definitions/DatabaseCompatLevel",
"description": "SQL Server compatibility level of database"
},
"collation": {
"type": "string",
"description": "Collation name of the database"
},
"serverName": {
"type": "string",
"description": "Name of the server"
},
"fqdn": {
"type": "string",
"description": "Fully qualified name"
},
"installId": {
"type": "string",
"description": "Install id of the database"
},
"serverVersion": {
"type": "string",
"description": "Version of the server"
},
"serverEdition": {
"type": "string",
"description": "Edition of the server"
},
"serverLevel": {
"type": "string",
"description": "Product level of the server (RTM, SP, CTP)."
},
"serverDefaultDataPath": {
"type": "string",
"description": "Default path of the data files"
},
"serverDefaultLogPath": {
"type": "string",
"description": "Default path of the log files"
},
"serverDefaultBackupPath": {
"type": "string",
"description": "Default path of the backup folder"
},
"serverCoreCount": {
"type": "integer",
"description": "Number of cores on the server"
},
"serverVisibleOnlineCoreCount": {
"type": "integer",
"description": "Number of cores on the server that have VISIBLE ONLINE status"
},
"databaseState": {
"$ref": "#/definitions/DatabaseState",
"description": "State of the database"
},
"serverId": {
"type": "string",
"description": "The unique Server Id"
}
}
},
"DatabaseCompatLevel": {
"type": "string",
"description": "An enumeration of SQL Server database compatibility levels",
"enum": [
"CompatLevel80",
"CompatLevel90",
"CompatLevel100",
"CompatLevel110",
"CompatLevel120",
"CompatLevel130",
"CompatLevel140"
],
"x-ms-enum": {
"name": "DatabaseCompatLevel",
"modelAsString": true
}
},
"DatabaseState": {
"type": "string",
"description": "An enumeration of SQL Server Database states",
"enum": [
"Online",
"Restoring",
"Recovering",
"RecoveryPending",
"Suspect",
"Emergency",
"Offline",
"Copying",
"OfflineSecondary"
],
"x-ms-enum": {
"name": "DatabaseState",
"modelAsString": true
}
},
"DatabaseObjectType": {
"type": "string",
"description": "An enumeration of type of objects",
"enum": [
"StoredProcedures",
"Table",
"User",
"View",
"Function"
],
"x-ms-enum": {
"name": "ObjectType",
"modelAsString": true
}
},
"ScenarioSource": {
"type": "string",
"description": "An enumeration of source type",
"enum": [
"Access",
"DB2",
"MySQL",
"Oracle",
"SQL",
"Sybase",
"PostgreSQL",
"MongoDB",
"SQLRDS",
"MySQLRDS",
"PostgreSQLRDS"
],
"x-ms-enum": {
"name": "ScenarioSource",
"modelAsString": true
}
},
"ScenarioTarget": {
"type": "string",
"description": "An enumeration of target type",
"enum": [
"SQLServer",
"SQLDB",
"SQLDW",
"SQLMI",
"AzureDBForMySql",
"AzureDBForPostgresSQL",
"MongoDB"
],
"x-ms-enum": {
"name": "ScenarioTarget",
"modelAsString": true
}
},
"ReplicateMigrationState": {
"type": "string",
"description": "Wrapper for replicate reported migration states.",
"enum": [
"UNDEFINED",
"VALIDATING",
"PENDING",
"COMPLETE",
"ACTION_REQUIRED",
"FAILED"
],
"x-ms-enum": {
"name": "ReplicateMigrationState",
"modelAsString": true
}
},
"DatabaseObjectName": {
"type": "object",
"description": "A representation of the name of an object in a database",
"properties": {
"databaseName": {
"type": "string",
"description": "The unescaped name of the database containing the object",
"readOnly": true
},
"objectName": {
"type": "string",
"description": "The unescaped name of the object",
"readOnly": true
},
"schemaName": {
"type": "string",
"description": "The unescaped name of the schema containing the object",
"readOnly": true
},
"objectType": {
"$ref": "#/definitions/DatabaseObjectType",
"description": "Type of the object in the database"
}
}
},
"DataItemMigrationSummaryResult": {
"type": "object",
"description": "Basic summary of a data item migration",
"properties": {
"name": {
"type": "string",
"description": "Name of the item",
"readOnly": true
},
"startedOn": {
"type": "string",
"format": "date-time",
"description": "Migration start time",
"readOnly": true
},
"endedOn": {
"type": "string",
"format": "date-time",
"description": "Migration end time",
"readOnly": true
},
"state": {
"$ref": "#/definitions/MigrationState",
"description": "Current state of migration",
"readOnly": true
},
"statusMessage": {
"type": "string",
"description": "Status message",
"readOnly": true
},
"itemsCount": {
"type": "integer",
"format": "int64",
"description": "Number of items",
"readOnly": true
},
"itemsCompletedCount": {
"type": "integer",
"format": "int64",
"description": "Number of successfully completed items",
"readOnly": true
},
"errorPrefix": {
"type": "string",
"description": "Wildcard string prefix to use for querying all errors of the item",
"readOnly": true
},
"resultPrefix": {
"type": "string",
"description": "Wildcard string prefix to use for querying all sub-tem results of the item",
"readOnly": true
}
}
},
"DataMigrationProjectMetadata": {
"type": "object",
"description": "Common metadata for migration projects",
"properties": {
"sourceServerName": {
"type": "string",
"description": "Source server name",
"readOnly": true
},
"sourceServerPort": {
"type": "string",
"description": "Source server port number",
"readOnly": true
},
"sourceUsername": {
"type": "string",
"description": "Source username",
"readOnly": true
},
"targetServerName": {
"type": "string",
"description": "Target server name",
"readOnly": true
},
"targetUsername": {
"type": "string",
"description": "Target username",
"readOnly": true
},
"targetDbName": {
"type": "string",
"description": "Target database name",
"readOnly": true
},
"targetUsingWinAuth": {
"type": "boolean",
"description": "Whether target connection is Windows authentication",
"readOnly": true
},
"selectedMigrationTables": {
"type": "array",
"description": "List of tables selected for migration",
"readOnly": true,
"items": {
"$ref": "#/definitions/MigrationTableMetadata"
}
}
}
},
"DatabaseTable": {
"type": "object",
"description": "Table properties",
"properties": {
"hasRows": {
"type": "boolean",
"description": "Indicates whether table is empty or not",
"readOnly": true
},
"name": {
"type": "string",
"description": "Schema-qualified name of the table",
"readOnly": true
}
}
},
"GetProjectDetailsNonSqlTaskInput": {
"type": "object",
"description": "Input for the task that reads configuration from project artifacts",
"properties": {
"projectName": {
"type": "string",
"description": "Name of the migration project"
},
"projectLocation": {
"type": "string",
"description": "A URL that points to the location to access project artifacts"
}
},
"required": [
"projectName",
"projectLocation"
]
},
"SqlServerSqlMISyncTaskInput": {
"type": "object",
"description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance online scenario.",
"properties": {
"selectedDatabases": {
"description": "Databases to migrate",
"type": "array",
"items": {
"$ref": "./TasksCommon.json#/definitions/MigrateSqlServerSqlMIDatabaseInput"
}
},
"backupFileShare": {
"$ref": "./TasksCommon.json#/definitions/FileShare",
"description": "Backup file share information for all selected databases."
},
"storageResourceId": {
"type": "string",
"description": "Fully qualified resourceId of storage"
},
"sourceConnectionInfo": {
"$ref": "./Common.json#/definitions/SqlConnectionInfo",
"description": "Connection information for source SQL Server"
},
"targetConnectionInfo": {
"$ref": "./Common.json#/definitions/MiSqlConnectionInfo",
"description": "Connection information for Azure SQL Database Managed Instance"
},
"azureApp": {
"$ref": "./Common.json#/definitions/AzureActiveDirectoryApp",
"description": "Azure Active Directory Application the DMS (classic) instance will use to connect to the target instance of Azure SQL Database Managed Instance and the Azure Storage Account"
}
},
"required": [
"selectedDatabases",
"azureApp",
"sourceConnectionInfo",
"targetConnectionInfo",
"storageResourceId"
]
},
"MigrationState": {
"type": "string",
"description": "Current state of migration",
"enum": [
"None",
"InProgress",
"Failed",
"Warning",
"Completed",
"Skipped",
"Stopped"
],
"x-ms-enum": {
"name": "MigrationState",
"modelAsString": true
}
},
"MigrationStatus": {
"type": "string",
"description": "Current status of migration",
"enum": [
"Default",
"Connecting",
"SourceAndTargetSelected",
"SelectLogins",
"Configured",
"Running",
"Error",
"Stopped",
"Completed",
"CompletedWithWarnings"
],
"x-ms-enum": {
"name": "MigrationStatus",
"modelAsString": true
}
},
"SqlMigrationTaskInput": {
"type": "object",
"description": "Base class for migration task input",
"properties": {
"sourceConnectionInfo": {
"$ref": "./Common.json#/definitions/SqlConnectionInfo",
"description": "Information for connecting to source"
},
"targetConnectionInfo": {
"$ref": "./Common.json#/definitions/SqlConnectionInfo",
"description": "Information for connecting to target"
}
},
"required": [
"sourceConnectionInfo",
"targetConnectionInfo"
]
},
"MigrateSqlServerSqlDbDatabaseInput": {
"type": "object",
"description": "Database specific information for SQL to Azure SQL DB migration task inputs",
"properties": {
"name": {
"type": "string",
"description": "Name of the database"
},
"targetDatabaseName": {
"type": "string",
"description": "Name of target database. Note: Target database will be truncated before starting migration."
},
"makeSourceDbReadOnly": {
"type": "boolean",
"description": "Whether to set database read only before migration"
},
"tableMap": {
"type": "object",
"description": "Mapping of source to target tables",
"additionalProperties": {
"type": "string"
}
},
"schemaSetting": {
"type": "object",
"description": "Settings selected for DB schema migration."
},
"id": {
"type": "string",
"description": "id of the database"
}
}
},
"MigrateSqlServerSqlDbSyncDatabaseInput": {
"type": "object",
"description": "Database specific information for SQL to Azure SQL DB sync migration task inputs",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for database"
},
"name": {
"type": "string",
"description": "Name of database"
},
"targetDatabaseName": {
"type": "string",
"description": "Target database name"
},
"schemaName": {
"type": "string",
"description": "Schema name to be migrated"
},
"tableMap": {
"type": "object",
"description": "Mapping of source to target tables",
"additionalProperties": {
"type": "string"
}
},
"migrationSetting": {
"type": "object",
"description": "Migration settings which tune the migration behavior",
"additionalProperties": {
"type": "string"
}
},
"sourceSetting": {
"type": "object",
"description": "Source settings to tune source endpoint migration behavior",
"additionalProperties": {
"type": "string"
}
},
"targetSetting": {
"type": "object",
"description": "Target settings to tune target endpoint migration behavior",
"additionalProperties": {
"type": "string"
}
}
}
},
"MigrationTableMetadata": {
"type": "object",
"description": "Metadata for tables selected in migration project",
"properties": {
"sourceTableName": {
"type": "string",
"description": "Source table name",
"readOnly": true
},
"targetTableName": {
"type": "string",
"description": "Target table name",
"readOnly": true
}
}
},
"NonSqlMigrationTaskInput": {
"type": "object",
"description": "Base class for non sql migration task input",
"properties": {
"targetConnectionInfo": {
"$ref": "./Common.json#/definitions/SqlConnectionInfo",
"description": "Information for connecting to target"
},
"targetDatabaseName": {
"type": "string",
"description": "Target database name"
},
"projectName": {
"type": "string",
"description": "Name of the migration project"
},
"projectLocation": {
"type": "string",
"description": "A URL that points to the drop location to access project artifacts"
},
"selectedTables": {
"type": "array",
"description": "Metadata of the tables selected for migration",
"items": {
"$ref": "#/definitions/NonSqlDataMigrationTable"
}
}
},
"required": [
"targetConnectionInfo",
"targetDatabaseName",
"projectName",
"projectLocation",
"selectedTables"
]
},
"NonSqlDataMigrationTable": {
"type": "object",
"description": "Defines metadata for table to be migrated",
"properties": {
"sourceName": {
"type": "string",
"description": "Source table name"
}
}
},
"NonSqlMigrationTaskOutput": {
"type": "object",
"description": "Base class for non sql migration task output",
"properties": {
"id": {
"type": "string",
"description": "Result identifier",
"readOnly": true
},
"startedOn": {
"type": "string",
"format": "date-time",
"description": "Migration start time",
"readOnly": true
},
"endedOn": {
"type": "string",
"format": "date-time",
"description": "Migration end time",
"readOnly": true
},
"status": {
"$ref": "#/definitions/MigrationStatus",
"description": "Current state of migration",
"readOnly": true
},
"dataMigrationTableResults": {
"type": "string",
"description": "Results of the migration. The key contains the table name and the value the table result object",
"additionalProperties": {
"$ref": "#/definitions/NonSqlDataMigrationTableResult"
},
"readOnly": true
},
"progressMessage": {
"type": "string",
"description": "Message about the progress of the migration",
"readOnly": true
},
"sourceServerName": {
"type": "string",
"description": "Name of source server",
"readOnly": true
},
"targetServerName": {
"type": "string",
"description": "Name of target server",
"readOnly": true
}
}
},
"NonSqlDataMigrationTableResult": {
"type": "object",
"description": "Object used to report the data migration results of a table",
"properties": {
"resultCode": {
"type": "string",
"description": "Result code of the data migration",
"enum": [
"Initial",
"Completed",
"ObjectNotExistsInSource",
"ObjectNotExistsInTarget",
"TargetObjectIsInaccessible",
"FatalError"
],
"x-ms-enum": {
"name": "DataMigrationResultCode",
"modelAsString": true
},
"readOnly": true
},
"sourceName": {
"type": "string",
"description": "Name of the source table",
"readOnly": true
},
"targetName": {
"type": "string",
"description": "Name of the target table",
"readOnly": true
},
"sourceRowCount": {
"type": "integer",
"format": "int64",
"description": "Number of rows in the source table",
"readOnly": true
},
"targetRowCount": {
"type": "integer",
"format": "int64",
"description": "Number of rows in the target table",
"readOnly": true
},
"elapsedTimeInMiliseconds": {
"type": "number",
"format": "double",
"description": "Time taken to migrate the data",
"readOnly": true
},
"errors": {
"type": "array",
"items": {
"$ref": "#/definitions/DataMigrationError"
},
"description": "List of errors, if any, during migration",
"readOnly": true
}
}
},
"DataMigrationError": {
"type": "object",
"description": "Migration Task errors",
"properties": {
"message": {
"type": "string",
"description": "Error description",
"readOnly": true
},
"type": {
"$ref": "#/definitions/ErrorType"
}
}
},
"ErrorType": {
"type": "string",
"description": "Error type",
"enum": [
"Default",
"Warning",
"Error"
],
"x-ms-enum": {
"name": "ErrorType",
"modelAsString": true
}
},
"MigrateSqlServerSqlMIDatabaseInput": {
"type": "object",
"description": "Database specific information for SQL to Azure SQL DB Managed Instance migration task inputs",
"properties": {
"name": {
"type": "string",
"description": "Name of the database"
},
"restoreDatabaseName": {
"type": "string",
"description": "Name of the database at destination"
},
"backupFileShare": {
"$ref": "#/definitions/FileShare",
"description": "Backup file share information for backing up this database."
},
"backupFilePaths": {
"type": "array",
"description": "The list of backup files to be used in case of existing backups.",
"items": {
"type": "string"
}
},
"id": {
"type": "string",
"description": "id of the database"
}
},
"required": [
"name",
"restoreDatabaseName"
]
},
"MigrateSqlServerSqlServerDatabaseInput": {
"type": "object",
"description": "Database specific information for SQL to SQL migration task inputs",
"properties": {
"name": {
"type": "string",
"description": "Name of the database"
},
"restoreDatabaseName": {
"type": "string",
"description": "Name of the database at destination"
},
"backupAndRestoreFolder": {
"type": "string",
"description": "The backup and restore folder"
},
"databaseFiles": {
"type": "array",
"description": "The list of database files",
"items": {
"$ref": "#/definitions/DatabaseFileInput"
}
}
}
},
"DatabaseFileInput": {
"type": "object",
"description": "Database file specific information for input",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for database file"
},
"logicalName": {
"type": "string",
"description": "Logical name of the file"
},
"physicalFullName": {
"type": "string",
"description": "Operating-system full path of the file"
},
"restoreFullName": {
"type": "string",
"description": "Suggested full path of the file for restoring"
},
"fileType": {
"$ref": "#/definitions/DatabaseFileType",
"description": "Database file type"
}
}
},
"DatabaseFileInfo": {
"type": "object",
"description": "Database file specific information",
"properties": {
"databaseName": {
"type": "string",
"description": "Name of the database"
},
"id": {
"type": "string",
"description": "Unique identifier for database file"
},
"logicalName": {
"type": "string",
"description": "Logical name of the file"
},
"physicalFullName": {
"type": "string",
"description": "Operating-system full path of the file"
},
"restoreFullName": {
"type": "string",
"description": "Suggested full path of the file for restoring"
},
"fileType": {
"$ref": "#/definitions/DatabaseFileType",
"description": "Database file type"
},
"sizeMB": {
"type": "number",
"format": "double",
"description": "Size of the file in megabytes"
}
}
},
"DatabaseFileType": {
"type": "string",
"description": "An enumeration of SQL Server database file types",
"enum": [
"Rows",
"Log",
"Filestream",
"NotSupported",
"Fulltext"
],
"x-ms-enum": {
"name": "DatabaseFileType",
"modelAsString": true
}
},
"ConnectToSourceNonSqlTaskOutput": {
"type": "object",
"description": "Output for connect to MySQL type source",
"properties": {
"id": {
"type": "string",
"description": "Result identifier",
"readOnly": true
},
"sourceServerBrandVersion": {
"type": "string",
"description": "Server brand version",
"readOnly": true
},
"serverProperties": {
"$ref": "#/definitions/ServerProperties",
"description": "Server properties",
"readOnly": true
},
"databases": {
"type": "array",
"description": "List of databases on the server",
"items": {
"type": "string"
},
"readOnly": true
},
"validationErrors": {
"description": "Validation errors associated with the task",
"type": "array",
"items": {
"$ref": "./Common.json#/definitions/ReportableException"
},
"readOnly": true
}
}
},
"ServerProperties": {
"type": "object",
"description": "Server properties for MySQL type source",
"properties": {
"serverPlatform": {
"type": "string",
"description": "Name of the server platform",
"readOnly": true
},
"serverName": {
"type": "string",
"description": "Name of the server",
"readOnly": true
},
"serverVersion": {
"type": "string",
"description": "Version of the database server",
"readOnly": true
},
"serverEdition": {
"type": "string",
"description": "Edition of the database server",
"readOnly": true
},
"serverOperatingSystemVersion": {
"type": "string",
"description": "Version of the operating system",
"readOnly": true
},
"serverDatabaseCount": {
"type": "integer",
"description": "Number of databases in the server",
"readOnly": true
}
}
},
"DatabaseMigrationStage": {
"type": "string",
"description": "Current stage of migration",
"enum": [
"None",
"Initialize",
"Backup",
"FileCopy",
"Restore",
"Completed"
],
"x-ms-enum": {
"name": "DatabaseMigrationStage",
"modelAsString": true
}
},
"SchemaMigrationStage": {
"type": "string",
"description": "Current stage of schema migration",
"enum": [
"NotStarted",
"ValidatingInputs",
"CollectingObjects",
"DownloadingScript",
"GeneratingScript",
"UploadingScript",
"DeployingSchema",
"Completed",
"CompletedWithWarnings",
"Failed"
],
"x-ms-enum": {
"name": "SchemaMigrationStage",
"modelAsString": true
}
},
"BlobShare": {
"type": "object",
"description": "Blob container storage information.",
"properties": {
"sasUri": {
"type": "string",
"description": "SAS URI of Azure Storage Account Container."
}
}
},
"FileShare": {
"type": "object",
"description": "File share information with Path, Username, and Password.",
"properties": {
"userName": {
"type": "string",
"description": "User name credential to connect to the share location"
},
"password": {