Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
"$ref": "./Common.json#/definitions/ServerLevelPermissionsGroup",
"description": "Permission group for validations"
},
"collectDatabases": {
"type": "boolean",
"description": "Flag for whether to collect databases from source server.",
"default": true
},
"collectLogins": {
"type": "boolean",
"description": "Flag for whether to collect logins from source server.",
Expand All @@ -43,6 +48,11 @@
"type": "boolean",
"description": "Flag for whether to collect TDE Certificate names from source server.",
"default": false
},
"validateSsisCatalogOnly": {
"type": "boolean",
"description": "Flag for whether to validate SSIS catalog is reachable on the source server.",
"default": false
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,21 @@
"targetConnectionInfo": {
"description": "Connection information for target SQL Server",
"$ref": "./Common.json#/definitions/SqlConnectionInfo"
},
"collectLogins": {
"type": "boolean",
"description": "Flag for whether to collect logins from target SQL MI server.",
"default": true
},
"collectAgentJobs": {
"type": "boolean",
"description": "Flag for whether to collect agent jobs from target SQL MI server.",
"default": true
},
"validateSsisCatalogOnly": {
"type": "boolean",
"description": "Flag for whether to validate SSIS catalog is reachable on the target SQL MI server.",
"default": false
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
{
"swagger": "2.0",
"info": {
"title": "Azure Database Migration Service Resource Provider",
"version": "2018-07-15-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": {
"MigrateSsisTaskInput": {
"type": "object",
"description": "Input for task that migrates SSIS packages from SQL Server to Azure SQL Database Managed Instance.",
"allOf": [
{
"$ref": "./TasksCommon.json#/definitions/SqlMigrationTaskInput"
}
],
"properties": {
"ssisMigrationInfo": {
"$ref": "./TasksCommon.json#/definitions/SsisMigrationInfo",
"description": "SSIS package migration information."
}
},
"required": [
"ssisMigrationInfo"
]
},
"MigrateSsisTaskOutput": {
"type": "object",
"description": "Output for task that migrates SSIS packages from SQL Server to Azure SQL Database Managed Instance.",
"properties": {
"id": {
"type": "string",
"description": "Result identifier",
"readOnly": true
},
"resultType": {
"description": "Result type",
"type": "string",
"readOnly": true
}
},
"discriminator": "resultType"
},
"MigrateSsisTaskOutputMigrationLevel": {
"type": "object",
"x-ms-discriminator-value": "MigrationLevelOutput",
"properties": {
"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": "TasksCommon.json#/definitions/MigrationStatus",
"description": "Current status of migration",
"readOnly": true
},
"message": {
"type": "string",
"description": "Migration progress message",
"readOnly": true
},
"sourceServerVersion": {
"type": "string",
"description": "Source server version",
"readOnly": true
},
"sourceServerBrandVersion": {
"type": "string",
"description": "Source server brand version",
"readOnly": true
},
"targetServerVersion": {
"type": "string",
"description": "Target server version",
"readOnly": true
},
"targetServerBrandVersion": {
"type": "string",
"description": "Target server brand version",
"readOnly": true
},
"exceptionsAndWarnings": {
"description": "Migration exceptions and warnings.",
"type": "array",
"items": {
"$ref": "./Common.json#/definitions/ReportableException"
},
"readOnly": true
},
"stage": {
"description": "Stage of SSIS migration.",
"$ref": "./TasksCommon.json#/definitions/SsisMigrationStage",
"readOnly": true
}
},
"allOf": [
{
"$ref": "#/definitions/MigrateSsisTaskOutput"
}
]
},
"MigrateSsisTaskOutputProjectLevel": {
"type": "object",
"x-ms-discriminator-value": "SsisProjectLevelOutput",
"properties": {
"folderName": {
"type": "string",
"description": "Name of the folder",
"readOnly": true
},
"projectName": {
"type": "string",
"description": "Name of the project",
"readOnly": true
},
"state": {
"$ref": "./TasksCommon.json#/definitions/MigrationState",
"description": "Current state of migration",
"readOnly": true
},
"stage": {
"description": "Stage of SSIS migration.",
"$ref": "./TasksCommon.json#/definitions/SsisMigrationStage",
"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
},
"message": {
"type": "string",
"description": "Migration progress message",
"readOnly": true
},
"exceptionsAndWarnings": {
"description": "Migration exceptions and warnings",
"type": "array",
"items": {
"$ref": "Common.json#/definitions/ReportableException"
},
"readOnly": true
}
},
"allOf": [
{
"$ref": "#/definitions/MigrateSsisTaskOutput"
}
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,30 @@
"$ref": "#/definitions/ProjectTaskProperties"
}
]
},
"MigrateSsisTaskProperties": {
"x-ms-discriminator-value": "Migrate.Ssis",
"type": "object",
"description": "Properties for task that migrates SSIS packages from SQL Server databases to Azure SQL Database Managed Instance.",
"properties": {
"input": {
"description": "Task input",
"$ref": "./MigrateSsisTask.json#/definitions/MigrateSsisTaskInput"
},
"output": {
"description": "Task output. This is ignored if submitted.",
"type": "array",
"items": {
"$ref": "./MigrateSsisTask.json#/definitions/MigrateSsisTaskOutput"
},
"readOnly": true
}
},
"allOf": [
{
"$ref": "#/definitions/ProjectTaskProperties"
}
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1182,6 +1182,61 @@
"name": "DatabaseMigrationState",
"modelAsString": true
}
},
"SsisMigrationInfo": {
"type": "object",
"description": "SSIS migration info with SSIS store type, overwrite policy.",
"properties": {
"ssisStoreType": {
"$ref": "#/definitions/SsisStoreType",
"description": "The SSIS store type of source, only SSIS catalog is supported now in DMS"
},
"projectOverwriteOption": {
"$ref": "#/definitions/SsisMigrationOverwriteOption",
"description": "The overwrite option for the SSIS project migration"
},
"environmentOverwriteOption": {
"$ref": "#/definitions/SsisMigrationOverwriteOption",
"description": "The overwrite option for the SSIS environment migration"
}
}
},
"SsisStoreType": {
"type": "string",
"description": "An enumeration of supported source SSIS store type in DMS",
"enum": [
"SsisCatalog"
],
"x-ms-enum": {
"name": "SsisStoreType",
"modelAsString": true
}
},
"SsisMigrationOverwriteOption": {
"type": "string",
"description": "The overwrite option for SSIS object migration, only ignore and overwrite are supported in DMS now and future may add Reuse option for container object",
"enum": [
"Ignore",
"Overwrite"
],
"x-ms-enum": {
"name": "SsisMigrationOverwriteOption",
"modelAsString": true
}
},
"SsisMigrationStage": {
"type": "string",
"description": "Current stage of SSIS migration",
"enum": [
"None",
"Initialize",
"InProgress",
"Completed"
],
"x-ms-enum": {
"name": "SsisMigrationStage",
"modelAsString": true
}
}
}
}
1 change: 1 addition & 0 deletions specification/datamigration/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ input-file:
- Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSqlServerSqlDbTask.json
- Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSqlServerSqlMiSyncTask.json
- Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSqlServerSqlMITask.json
- Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSsisTask.json
- Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrationValidation.json
- Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MongoDbTasks.json
- Microsoft.DataMigration/preview/2018-07-15-preview/definitions/GetTdeCertificatesSqlTask.json
Expand Down