diff --git a/schemas/2014-04-01-preview/deploymentTemplate.json b/schemas/2014-04-01-preview/deploymentTemplate.json
index e7efa8586d..a0c6cb6408 100644
--- a/schemas/2014-04-01-preview/deploymentTemplate.json
+++ b/schemas/2014-04-01-preview/deploymentTemplate.json
@@ -156,6 +156,13 @@
{ "$ref": "https://schema.management.azure.com/schemas/2020-06-14/Microsoft.Kusto.json#/resourceDefinitions/clusters_dataconnections" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-06-14/Microsoft.Kusto.json#/resourceDefinitions/clusters_principalassignments" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-06-14/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_principalassignments" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_dataconnections" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_attacheddatabaseconfigurations" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_dataconnections" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_principalassignments" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_principalassignments" },
{ "$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/resourceDefinitions/alertrules" },
{ "$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/resourceDefinitions/components" },
{ "$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/resourceDefinitions/autoscalesettings" },
@@ -1843,6 +1850,8 @@
{ "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups_assessments" },
{ "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_hypervcollectors" },
{ "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" },
+ { "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" },
+ { "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" },
{ "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Insights.json#/resourceDefinitions/actionGroups" },
{ "$ref": "https://schema.management.azure.com/schemas/2018-06-01-preview/Microsoft.ManagedServices.json#/resourceDefinitions/registrationAssignments" },
{ "$ref": "https://schema.management.azure.com/schemas/2018-06-01-preview/Microsoft.ManagedServices.json#/resourceDefinitions/registrationDefinitions" },
diff --git a/schemas/2015-01-01/deploymentTemplate.json b/schemas/2015-01-01/deploymentTemplate.json
index 89255d5233..75c028eb20 100644
--- a/schemas/2015-01-01/deploymentTemplate.json
+++ b/schemas/2015-01-01/deploymentTemplate.json
@@ -202,6 +202,13 @@
{ "$ref": "https://schema.management.azure.com/schemas/2020-06-14/Microsoft.Kusto.json#/resourceDefinitions/clusters_dataconnections" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-06-14/Microsoft.Kusto.json#/resourceDefinitions/clusters_principalassignments" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-06-14/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_principalassignments" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_dataconnections" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_attacheddatabaseconfigurations" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_dataconnections" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_principalassignments" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_principalassignments" },
{ "$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/resourceDefinitions/alertrules" },
{ "$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/resourceDefinitions/components" },
{ "$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/resourceDefinitions/autoscalesettings" },
diff --git a/schemas/2015-05-01-preview/Microsoft.Sql.json b/schemas/2015-05-01-preview/Microsoft.Sql.json
index b8e76f058b..ee45813210 100644
--- a/schemas/2015-05-01-preview/Microsoft.Sql.json
+++ b/schemas/2015-05-01-preview/Microsoft.Sql.json
@@ -996,7 +996,9 @@
{
"type": "string",
"enum": [
- "SystemAssigned"
+ "None",
+ "SystemAssigned",
+ "UserAssigned"
]
},
{
diff --git a/schemas/2017-06-01/Microsoft.AAD.json b/schemas/2017-06-01/Microsoft.AAD.json
index c03bbf9004..95b6818c05 100644
--- a/schemas/2017-06-01/Microsoft.AAD.json
+++ b/schemas/2017-06-01/Microsoft.AAD.json
@@ -246,6 +246,17 @@
],
"description": "Secure LDAP Settings"
},
+ "migrationProperties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrationProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Migration Properties"
+ },
"notificationSettings": {
"oneOf": [
{
@@ -388,6 +399,52 @@
},
"description": "Secure LDAP Settings"
},
+ "MigrationProgress": {
+ "type": "object",
+ "properties": {
+ "completionPercentage": {
+ "oneOf": [
+ {
+ "type": "number"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Completion Percentage"
+ },
+ "progressMessage": {
+ "type": "string",
+ "description": "Progress Message"
+ }
+ },
+ "description": "Migration Progress"
+ },
+ "MigrationProperties": {
+ "type": "object",
+ "properties": {
+ "migrationProgress": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrationProgress"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Migration Progress"
+ },
+ "oldSubnetId": {
+ "type": "string",
+ "description": "Old Subnet Id"
+ },
+ "oldVnetSiteId": {
+ "type": "string",
+ "description": "Old Vnet Site Id"
+ }
+ },
+ "description": "Migration Properties"
+ },
"NotificationSettings": {
"type": "object",
"properties": {
diff --git a/schemas/2017-11-15-preview/Microsoft.DataMigration.json b/schemas/2017-11-15-preview/Microsoft.DataMigration.json
index 1a7b39fdd5..da2b44a542 100644
--- a/schemas/2017-11-15-preview/Microsoft.DataMigration.json
+++ b/schemas/2017-11-15-preview/Microsoft.DataMigration.json
@@ -7,40 +7,12 @@
"services": {
"type": "object",
"properties": {
- "name": {
- "type": "string",
- "description": "Name of the service"
- },
- "type": {
- "type": "string",
- "enum": [
- "Microsoft.DataMigration/services"
- ]
- },
"apiVersion": {
"type": "string",
"enum": [
"2017-11-15-preview"
]
},
- "tags": {
- "oneOf": [
- {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ],
- "description": "Resource tags."
- },
- "location": {
- "type": "string",
- "description": "Resource location."
- },
"etag": {
"type": "string",
"description": "HTTP strong entity tag value. Ignored if submitted"
@@ -49,6 +21,14 @@
"type": "string",
"description": "The resource kind. Only 'vm' (the default) is supported."
},
+ "location": {
+ "type": "string",
+ "description": "Resource location."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the service"
+ },
"properties": {
"oneOf": [
{
@@ -58,7 +38,17 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "Custom service properties"
+ "description": "Properties of the Data Migration service instance"
+ },
+ "resources": {
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/services_projects_childResource"
+ }
+ ]
+ }
},
"sku": {
"oneOf": [
@@ -69,65 +59,56 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "Service SKU"
+ "description": "An Azure SKU instance"
},
- "resources": {
- "type": "array",
- "items": {
- "oneOf": [
- {
- "$ref": "#/definitions/services_projects_childResource"
- }
- ]
- }
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.DataMigration/services"
+ ]
}
},
"required": [
- "name",
- "type",
"apiVersion",
"location",
- "properties"
+ "name",
+ "properties",
+ "type"
],
"description": "Microsoft.DataMigration/services"
},
"services_projects": {
"type": "object",
"properties": {
- "name": {
- "type": "string",
- "description": "Name of the project"
- },
- "type": {
- "type": "string",
- "enum": [
- "Microsoft.DataMigration/services/projects"
- ]
- },
"apiVersion": {
"type": "string",
"enum": [
"2017-11-15-preview"
]
},
- "tags": {
- "oneOf": [
- {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ],
- "description": "Resource tags."
- },
"location": {
"type": "string",
"description": "Resource location."
},
+ "name": {
+ "type": "string",
+ "description": "Name of the project"
+ },
"properties": {
"oneOf": [
{
@@ -137,7 +118,7 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "Project properties"
+ "description": "Project-specific properties"
},
"resources": {
"type": "array",
@@ -148,30 +129,41 @@
}
]
}
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.DataMigration/services/projects"
+ ]
}
},
"required": [
- "name",
- "type",
"apiVersion",
"location",
- "properties"
+ "name",
+ "properties",
+ "type"
],
"description": "Microsoft.DataMigration/services/projects"
},
"services_projects_tasks": {
"type": "object",
"properties": {
- "name": {
- "type": "string",
- "description": "Name of the Task"
- },
- "type": {
- "type": "string",
- "enum": [
- "Microsoft.DataMigration/services/projects/tasks"
- ]
- },
"apiVersion": {
"type": "string",
"enum": [
@@ -182,77 +174,85 @@
"type": "string",
"description": "HTTP strong entity tag value. This is ignored if submitted."
},
+ "name": {
+ "type": "string",
+ "description": "Name of the Task"
+ },
"properties": {
"oneOf": [
{
- "$ref": "#/definitions/Unknown"
+ "$ref": "#/definitions/ProjectTaskProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "Custom task properties"
+ "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.DataMigration/services/projects/tasks"
+ ]
}
},
"required": [
- "name",
- "type",
"apiVersion",
- "properties"
+ "name",
+ "properties",
+ "type"
],
"description": "Microsoft.DataMigration/services/projects/tasks"
}
},
"definitions": {
- "ConnectToSource_SqlServer": {
+ "ConnectionInfo": {
"type": "object",
- "allOf": [
+ "oneOf": [
{
- "properties": {
- "input": {
- "oneOf": [
- {
- "$ref": "#/definitions/ConnectToSourceSqlServerTaskInput"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ],
- "description": "Task input"
- }
- }
+ "$ref": "#/definitions/SqlConnectionInfo"
}
],
- "description": "Properties for the task that validates connection to SQL Server and also validates source server requirements"
+ "properties": {
+ "password": {
+ "type": "string",
+ "description": "Password credential."
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name"
+ }
+ },
+ "description": "Defines the connection properties of a server"
},
"ConnectToSourceSqlServerTaskInput": {
"type": "object",
"properties": {
- "sourceConnectionInfo": {
+ "checkPermissionsGroup": {
"oneOf": [
{
- "$ref": "#/definitions/SqlConnectionInfo"
+ "type": "string",
+ "enum": [
+ "Default",
+ "MigrationFromSqlServerToAzureDB"
+ ]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "Connection information for Source SQL Server"
+ "description": "Permission group for validations."
},
- "checkPermissionsGroup": {
+ "sourceConnectionInfo": {
"oneOf": [
{
- "type": "string",
- "enum": [
- "Default",
- "MigrationFromSqlServerToAzureDB"
- ]
+ "$ref": "#/definitions/SqlConnectionInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "Permission group for validations."
+ "description": "Information for connecting to SQL database server"
}
},
"required": [
@@ -260,26 +260,31 @@
],
"description": "Input for the task that validates connection to SQL Server and also validates source server requirements"
},
- "ConnectToTarget_SqlDb": {
+ "ConnectToSourceSqlServerTaskProperties": {
"type": "object",
- "allOf": [
- {
- "properties": {
- "input": {
- "oneOf": [
- {
- "$ref": "#/definitions/ConnectToTargetSqlDbTaskInput"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ],
- "description": "Task input"
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToSourceSqlServerTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
- }
+ ],
+ "description": "Input for the task that validates connection to SQL Server and also validates source server requirements"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToSource.SqlServer"
+ ]
}
+ },
+ "required": [
+ "taskType"
],
- "description": "Properties for the task that validates connection to SQL DB and target server requirements"
+ "description": "Properties for the task that validates connection to SQL Server and also validates source server requirements"
},
"ConnectToTargetSqlDbTaskInput": {
"type": "object",
@@ -293,7 +298,7 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "Connection information for target SQL DB"
+ "description": "Information for connecting to SQL database server"
}
},
"required": [
@@ -301,6 +306,32 @@
],
"description": "Input for the task that validates connection to SQL DB and target server requirements"
},
+ "ConnectToTargetSqlDbTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlDbTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to SQL DB and target server requirements"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToTarget.SqlDb"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to SQL DB and target server requirements"
+ },
"DatabaseInfo": {
"type": "object",
"properties": {
@@ -317,6 +348,10 @@
"DataMigrationServiceProperties": {
"type": "object",
"properties": {
+ "publicKey": {
+ "type": "string",
+ "description": "The public key of the service, used to encrypt secrets sent to the service"
+ },
"virtualSubnetId": {
"type": "string",
"description": "The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined"
@@ -327,27 +362,6 @@
],
"description": "Properties of the Data Migration service instance"
},
- "GetUserTables_Sql": {
- "type": "object",
- "allOf": [
- {
- "properties": {
- "input": {
- "oneOf": [
- {
- "$ref": "#/definitions/GetUserTablesSqlTaskInput"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ],
- "description": "Task input"
- }
- }
- }
- ],
- "description": "Properties for the task that collects user tables for the given list of databases"
- },
"GetUserTablesSqlTaskInput": {
"type": "object",
"properties": {
@@ -360,7 +374,7 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "Connection information for SQL Server"
+ "description": "Information for connecting to SQL database server"
},
"selectedDatabases": {
"oneOf": [
@@ -383,38 +397,35 @@
],
"description": "Input for the task that collects user tables for the given list of databases"
},
- "Migrate_SqlServer_SqlDb": {
+ "GetUserTablesSqlTaskProperties": {
"type": "object",
- "allOf": [
- {
- "properties": {
- "input": {
- "oneOf": [
- {
- "$ref": "#/definitions/MigrateSqlServerSqlDbTaskInput"
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ],
- "description": "Task input"
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/GetUserTablesSqlTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
- }
+ ],
+ "description": "Input for the task that collects user tables for the given list of databases"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "GetUserTables.Sql"
+ ]
}
+ },
+ "required": [
+ "taskType"
],
- "description": "Properties for the task that migrates on-prem SQL Server databases to Azure SQL Database"
+ "description": "Properties for the task that collects user tables for the given list of databases"
},
"MigrateSqlServerSqlDbDatabaseInput": {
"type": "object",
"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": {
"oneOf": [
{
@@ -426,19 +437,28 @@
],
"description": "Whether to set database read only before migration"
},
+ "name": {
+ "type": "string",
+ "description": "Name of the database"
+ },
"tableMap": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
- }
+ },
+ "properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Mapping of source to target tables"
+ },
+ "targetDatabaseName": {
+ "type": "string",
+ "description": "Name of target database. Note: Target database will be truncated before starting migration."
}
},
"description": "Database specific information for SQL to Azure SQL DB migration task inputs"
@@ -446,18 +466,21 @@
"MigrateSqlServerSqlDbTaskInput": {
"type": "object",
"properties": {
- "sourceConnectionInfo": {
+ "selectedDatabases": {
"oneOf": [
{
- "$ref": "#/definitions/SqlConnectionInfo"
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateSqlServerSqlDbDatabaseInput"
+ }
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "Information for connecting to source"
+ "description": "Databases to migrate"
},
- "targetConnectionInfo": {
+ "sourceConnectionInfo": {
"oneOf": [
{
"$ref": "#/definitions/SqlConnectionInfo"
@@ -466,21 +489,18 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "Information for connecting to target"
+ "description": "Information for connecting to SQL database server"
},
- "selectedDatabases": {
+ "targetConnectionInfo": {
"oneOf": [
{
- "type": "array",
- "items": {
- "$ref": "#/definitions/MigrateSqlServerSqlDbDatabaseInput"
- }
+ "$ref": "#/definitions/SqlConnectionInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "Databases to migrate"
+ "description": "Information for connecting to SQL database server"
},
"validationOptions": {
"oneOf": [
@@ -491,30 +511,45 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "Options for enabling various post migration validations. Available options, \n 1.) Data Integrity Check: Performs a checksum based comparison on source and target tables after the migration to ensure the correctness of the data. \n 2.) Schema Validation: Performs a thorough schema comparison between the source and target tables and provides a list of differences between the source and target database, 3.) Query Analysis: Executes a set of queries picked up automatically either from the Query Plan Cache or Query Store and execute them and compares the execution time between the source and target database."
+ "description": "Types of validations to run after the migration"
}
},
"required": [
+ "selectedDatabases",
"sourceConnectionInfo",
- "targetConnectionInfo",
- "selectedDatabases"
+ "targetConnectionInfo"
],
"description": "Input for the task that migrates on-prem SQL Server databases to Azure SQL Database"
},
- "MigrationValidationOptions": {
+ "MigrateSqlServerSqlDbTaskProperties": {
"type": "object",
"properties": {
- "enableSchemaValidation": {
+ "input": {
"oneOf": [
{
- "type": "boolean"
+ "$ref": "#/definitions/MigrateSqlServerSqlDbTaskInput"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "Allows to compare the schema information between source and target."
+ "description": "Input for the task that migrates on-prem SQL Server databases to Azure SQL Database"
},
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Migrate.SqlServer.SqlDb"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that migrates on-prem SQL Server databases to Azure SQL Database"
+ },
+ "MigrationValidationOptions": {
+ "type": "object",
+ "properties": {
"enableDataIntegrityValidation": {
"oneOf": [
{
@@ -536,6 +571,17 @@
}
],
"description": "Allows to perform a quick and intelligent query analysis by retrieving queries from the source database and executes them in the target. The result will have execution statistics for executions in source and target databases for the extracted queries."
+ },
+ "enableSchemaValidation": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Allows to compare the schema information between source and target."
}
},
"description": "Types of validations to run after the migration"
@@ -543,71 +589,71 @@
"ProjectProperties": {
"type": "object",
"properties": {
- "sourcePlatform": {
+ "databasesInfo": {
"oneOf": [
{
- "type": "string",
- "enum": [
- "SQL",
- "Unknown"
- ]
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DatabaseInfo"
+ }
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "Source platform for the project."
+ "description": "List of DatabaseInfo"
},
- "targetPlatform": {
+ "sourceConnectionInfo": {
"oneOf": [
{
- "type": "string",
- "enum": [
- "SQLDB",
- "Unknown"
- ]
+ "$ref": "#/definitions/ConnectionInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "Target platform for the project."
+ "description": "Defines the connection properties of a server"
},
- "sourceConnectionInfo": {
+ "sourcePlatform": {
"oneOf": [
{
- "$ref": "#/definitions/Unknown"
+ "type": "string",
+ "enum": [
+ "SQL",
+ "Unknown"
+ ]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "Information for connecting to source"
+ "description": "Source platform for the project."
},
"targetConnectionInfo": {
"oneOf": [
{
- "$ref": "#/definitions/Unknown"
+ "$ref": "#/definitions/ConnectionInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "Information for connecting to target"
+ "description": "Defines the connection properties of a server"
},
- "databasesInfo": {
+ "targetPlatform": {
"oneOf": [
{
- "type": "array",
- "items": {
- "$ref": "#/definitions/DatabaseInfo"
- }
+ "type": "string",
+ "enum": [
+ "SQLDB",
+ "Unknown"
+ ]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "List of DatabaseInfo"
+ "description": "Target platform for the project."
}
},
"required": [
@@ -616,77 +662,120 @@
],
"description": "Project-specific properties"
},
- "services_projects_childResource": {
+ "ProjectTaskProperties": {
+ "type": "object",
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToSourceSqlServerTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlDbTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/GetUserTablesSqlTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlDbTaskProperties"
+ }
+ ],
+ "properties": {},
+ "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned."
+ },
+ "ServiceSku": {
"type": "object",
"properties": {
+ "capacity": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The capacity of the SKU, if it supports scaling"
+ },
+ "family": {
+ "type": "string",
+ "description": "The SKU family, used when the service has multiple performance classes within a tier, such as 'A', 'D', etc. for virtual machines"
+ },
"name": {
"type": "string",
- "description": "Name of the project"
+ "description": "The unique name of the SKU, such as 'P3'"
},
- "type": {
+ "size": {
"type": "string",
- "enum": [
- "projects"
- ]
+ "description": "The size of the SKU, used when the name alone does not denote a service size or when a SKU has multiple performance classes within a family, e.g. 'A1' for virtual machines"
},
+ "tier": {
+ "type": "string",
+ "description": "The tier of the SKU, such as 'Free', 'Basic', 'Standard', or 'Premium'"
+ }
+ },
+ "description": "An Azure SKU instance"
+ },
+ "services_projects_childResource": {
+ "type": "object",
+ "properties": {
"apiVersion": {
"type": "string",
"enum": [
"2017-11-15-preview"
]
},
- "tags": {
+ "location": {
+ "type": "string",
+ "description": "Resource location."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the project"
+ },
+ "properties": {
"oneOf": [
{
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
+ "$ref": "#/definitions/ProjectProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "Resource tags."
- },
- "location": {
- "type": "string",
- "description": "Resource location."
+ "description": "Project-specific properties"
},
- "properties": {
+ "tags": {
"oneOf": [
{
- "$ref": "#/definitions/ProjectProperties"
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "Project properties"
+ "description": "Resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "projects"
+ ]
}
},
"required": [
- "name",
- "type",
"apiVersion",
"location",
- "properties"
+ "name",
+ "properties",
+ "type"
],
"description": "Microsoft.DataMigration/services/projects"
},
"services_projects_tasks_childResource": {
"type": "object",
"properties": {
- "name": {
- "type": "string",
- "description": "Name of the Task"
- },
- "type": {
- "type": "string",
- "enum": [
- "tasks"
- ]
- },
"apiVersion": {
"type": "string",
"enum": [
@@ -697,172 +786,109 @@
"type": "string",
"description": "HTTP strong entity tag value. This is ignored if submitted."
},
+ "name": {
+ "type": "string",
+ "description": "Name of the Task"
+ },
"properties": {
"oneOf": [
{
- "$ref": "#/definitions/Unknown"
+ "$ref": "#/definitions/ProjectTaskProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "Custom task properties"
+ "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "tasks"
+ ]
}
},
"required": [
- "name",
- "type",
"apiVersion",
- "properties"
+ "name",
+ "properties",
+ "type"
],
"description": "Microsoft.DataMigration/services/projects/tasks"
},
- "ServiceSku": {
+ "SqlConnectionInfo": {
"type": "object",
"properties": {
- "name": {
+ "additionalSettings": {
"type": "string",
- "description": "The unique name of the SKU, such as 'P3'"
+ "description": "Additional connection settings"
},
- "tier": {
- "type": "string",
- "description": "The tier of the SKU, such as 'Free', 'Basic', 'Standard', or 'Premium'"
- },
- "family": {
- "type": "string",
- "description": "The SKU family, used when the service has multiple performance classes within a tier, such as 'A', 'D', etc. for virtual machines"
- },
- "size": {
- "type": "string",
- "description": "The size of the SKU, used when the name alone does not denote a service size or when a SKU has multiple performance classes within a family, e.g. 'A1' for virtual machines"
- },
- "capacity": {
+ "authentication": {
"oneOf": [
{
- "type": "integer"
+ "type": "string",
+ "enum": [
+ "None",
+ "WindowsAuthentication",
+ "SqlAuthentication",
+ "ActiveDirectoryIntegrated",
+ "ActiveDirectoryPassword"
+ ]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "The capacity of the SKU, if it supports scaling"
- }
- },
- "description": "An Azure SKU instance"
- },
- "SqlConnectionInfo": {
- "type": "object",
- "allOf": [
- {
- "properties": {
- "userName": {
- "type": "string",
- "description": "User name"
- },
- "password": {
- "type": "string",
- "description": "Password credential."
- },
- "dataSource": {
- "type": "string",
- "description": "Data source in the format Protocol:MachineName\\SQLServerInstanceName,PortNumber"
- },
- "authentication": {
- "oneOf": [
- {
- "type": "string",
- "enum": [
- "None",
- "WindowsAuthentication",
- "SqlAuthentication",
- "ActiveDirectoryIntegrated",
- "ActiveDirectoryPassword"
- ]
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ],
- "description": "Authentication type to use for connection."
- },
- "encryptConnection": {
- "oneOf": [
- {
- "type": "boolean",
- "default": true
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ],
- "description": "Whether to encrypt the connection"
- },
- "additionalSettings": {
- "type": "string",
- "description": "Additional connection settings"
- },
- "trustServerCertificate": {
- "oneOf": [
- {
- "type": "boolean",
- "default": false
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ],
- "description": "Whether to trust the server certificate"
- }
- },
- "required": [
- "dataSource"
- ]
- }
- ],
- "description": "Information for connecting to SQL database server"
- },
- "Unknown": {
- "type": "object",
- "allOf": [
- {
- "properties": {
- "taskType": {
- "oneOf": [
- {
- "type": "string",
- "enum": [
- "Migrate_SqlServer_SqlDb",
- "GetUserTables_Sql",
- "ConnectToTarget_SqlDb",
- "ConnectToSource_SqlServer",
- "Unknown"
- ]
- },
- {
- "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
- }
- ]
- }
- }
+ "description": "Authentication type to use for connection."
},
- {
- "anyOf": [
+ "dataSource": {
+ "type": "string",
+ "description": "Data source in the format Protocol:MachineName\\SQLServerInstanceName,PortNumber"
+ },
+ "encryptConnection": {
+ "oneOf": [
{
- "$ref": "#/definitions/Migrate_SqlServer_SqlDb"
+ "type": "boolean",
+ "default": true
},
{
- "$ref": "#/definitions/GetUserTables_Sql"
- },
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Whether to encrypt the connection"
+ },
+ "password": {
+ "type": "string",
+ "description": "Password credential."
+ },
+ "trustServerCertificate": {
+ "oneOf": [
{
- "$ref": "#/definitions/ConnectToTarget_SqlDb"
+ "type": "boolean",
+ "default": false
},
{
- "$ref": "#/definitions/ConnectToSource_SqlServer"
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
+ ],
+ "description": "Whether to trust the server certificate"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "SqlConnectionInfo"
]
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name"
}
+ },
+ "required": [
+ "dataSource",
+ "type"
],
- "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned."
+ "description": "Information for connecting to SQL database server"
}
}
-}
+}
\ No newline at end of file
diff --git a/schemas/2018-03-15-preview/Microsoft.DataMigration.json b/schemas/2018-03-15-preview/Microsoft.DataMigration.json
new file mode 100644
index 0000000000..f3cfa82c7d
--- /dev/null
+++ b/schemas/2018-03-15-preview/Microsoft.DataMigration.json
@@ -0,0 +1,1192 @@
+{
+ "id": "https://schema.management.azure.com/schemas/2018-03-15-preview/Microsoft.DataMigration.json#",
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Microsoft.DataMigration",
+ "description": "Microsoft DataMigration Resource Types",
+ "resourceDefinitions": {
+ "services": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-03-15-preview"
+ ]
+ },
+ "etag": {
+ "type": "string",
+ "description": "HTTP strong entity tag value. Ignored if submitted"
+ },
+ "kind": {
+ "type": "string",
+ "description": "The resource kind. Only 'vm' (the default) is supported."
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the service"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DataMigrationServiceProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Properties of the Data Migration service instance"
+ },
+ "resources": {
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/services_projects_childResource"
+ }
+ ]
+ }
+ },
+ "sku": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ServiceSku"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "An Azure SKU instance"
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.DataMigration/services"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services"
+ },
+ "services_projects": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-03-15-preview"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the project"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ProjectProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Project-specific properties"
+ },
+ "resources": {
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/services_projects_tasks_childResource"
+ }
+ ]
+ }
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.DataMigration/services/projects"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services/projects"
+ },
+ "services_projects_tasks": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-03-15-preview"
+ ]
+ },
+ "etag": {
+ "type": "string",
+ "description": "HTTP strong entity tag value. This is ignored if submitted."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the Task"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ProjectTaskProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.DataMigration/services/projects/tasks"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services/projects/tasks"
+ }
+ },
+ "definitions": {
+ "BlobShare": {
+ "type": "object",
+ "properties": {
+ "sasUri": {
+ "type": "string",
+ "description": "SAS URI of Azure Storage Account Container."
+ }
+ },
+ "required": [
+ "sasUri"
+ ],
+ "description": "Blob container storage information."
+ },
+ "ConnectionInfo": {
+ "type": "object",
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ }
+ ],
+ "properties": {
+ "password": {
+ "type": "string",
+ "description": "Password credential."
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name"
+ }
+ },
+ "description": "Defines the connection properties of a server"
+ },
+ "ConnectToSourceSqlServerTaskInput": {
+ "type": "object",
+ "properties": {
+ "checkPermissionsGroup": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Default",
+ "MigrationFromSqlServerToAzureDB"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Permission group for validations."
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "sourceConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to SQL Server and also validates source server requirements"
+ },
+ "ConnectToSourceSqlServerTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToSourceSqlServerTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to SQL Server and also validates source server requirements"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToSource.SqlServer"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to SQL Server and also validates source server requirements"
+ },
+ "ConnectToTargetSqlDbTaskInput": {
+ "type": "object",
+ "properties": {
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to SQL DB and target server requirements"
+ },
+ "ConnectToTargetSqlDbTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlDbTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to SQL DB and target server requirements"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToTarget.SqlDb"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to SQL DB and target server requirements"
+ },
+ "ConnectToTargetSqlMITaskInput": {
+ "type": "object",
+ "properties": {
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to Azure SQL Database Managed Instance."
+ },
+ "ConnectToTargetSqlMITaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlMITaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to Azure SQL Database Managed Instance."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToTarget.AzureSqlDbMI"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to Azure SQL Database Managed Instance"
+ },
+ "DatabaseInfo": {
+ "type": "object",
+ "properties": {
+ "sourceDatabaseName": {
+ "type": "string",
+ "description": "Name of the database"
+ }
+ },
+ "required": [
+ "sourceDatabaseName"
+ ],
+ "description": "Project Database Details"
+ },
+ "DataMigrationServiceProperties": {
+ "type": "object",
+ "properties": {
+ "publicKey": {
+ "type": "string",
+ "description": "The public key of the service, used to encrypt secrets sent to the service"
+ },
+ "virtualSubnetId": {
+ "type": "string",
+ "description": "The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined"
+ }
+ },
+ "required": [
+ "virtualSubnetId"
+ ],
+ "description": "Properties of the Data Migration service instance"
+ },
+ "FileShare": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string",
+ "description": "Password credential used to connect to the share location."
+ },
+ "path": {
+ "type": "string",
+ "description": "The folder path for this share."
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name credential to connect to the share location"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "description": "File share information with Path, Username, and Password."
+ },
+ "GetUserTablesSqlTaskInput": {
+ "type": "object",
+ "properties": {
+ "connectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "List of database names to collect tables for"
+ }
+ },
+ "required": [
+ "connectionInfo",
+ "selectedDatabases"
+ ],
+ "description": "Input for the task that collects user tables for the given list of databases"
+ },
+ "GetUserTablesSqlTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/GetUserTablesSqlTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that collects user tables for the given list of databases"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "GetUserTables.Sql"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that collects user tables for the given list of databases"
+ },
+ "MigrateSqlServerSqlDbDatabaseInput": {
+ "type": "object",
+ "properties": {
+ "makeSourceDbReadOnly": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Whether to set database read only before migration"
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the database"
+ },
+ "tableMap": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Mapping of source to target tables"
+ },
+ "targetDatabaseName": {
+ "type": "string",
+ "description": "Name of target database. Note: Target database will be truncated before starting migration."
+ }
+ },
+ "description": "Database specific information for SQL to Azure SQL DB migration task inputs"
+ },
+ "MigrateSqlServerSqlDbTaskInput": {
+ "type": "object",
+ "properties": {
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateSqlServerSqlDbDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "validationOptions": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrationValidationOptions"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Types of validations to run after the migration"
+ }
+ },
+ "required": [
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that migrates on-prem SQL Server databases to Azure SQL Database"
+ },
+ "MigrateSqlServerSqlDbTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlDbTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that migrates on-prem SQL Server databases to Azure SQL Database"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Migrate.SqlServer.SqlDb"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that migrates on-prem SQL Server databases to Azure SQL Database"
+ },
+ "MigrateSqlServerSqlMIDatabaseInput": {
+ "type": "object",
+ "properties": {
+ "backupFileShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/FileShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "File share information with Path, Username, and Password."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the database"
+ },
+ "restoreDatabaseName": {
+ "type": "string",
+ "description": "Name of the database at destination"
+ }
+ },
+ "required": [
+ "name",
+ "restoreDatabaseName"
+ ],
+ "description": "Database specific information for SQL to Azure SQL DB Managed Instance migration task inputs"
+ },
+ "MigrateSqlServerSqlMITaskInput": {
+ "type": "object",
+ "properties": {
+ "backupBlobShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/BlobShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Blob container storage information."
+ },
+ "backupFileShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/FileShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "File share information with Path, Username, and Password."
+ },
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateSqlServerSqlMIDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "backupBlobShare",
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance."
+ },
+ "MigrateSqlServerSqlMITaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlMITaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Migrate.SqlServer.AzureSqlDbMI"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for task that migrates SQL Server databases to Azure SQL Database Managed Instance"
+ },
+ "MigrationValidationOptions": {
+ "type": "object",
+ "properties": {
+ "enableDataIntegrityValidation": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Allows to perform a checksum based data integrity validation between source and target for the selected database / tables ."
+ },
+ "enableQueryAnalysisValidation": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Allows to perform a quick and intelligent query analysis by retrieving queries from the source database and executes them in the target. The result will have execution statistics for executions in source and target databases for the extracted queries."
+ },
+ "enableSchemaValidation": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Allows to compare the schema information between source and target."
+ }
+ },
+ "description": "Types of validations to run after the migration"
+ },
+ "ProjectProperties": {
+ "type": "object",
+ "properties": {
+ "databasesInfo": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DatabaseInfo"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "List of DatabaseInfo"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Defines the connection properties of a server"
+ },
+ "sourcePlatform": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "SQL",
+ "Unknown"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Source platform for the project."
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Defines the connection properties of a server"
+ },
+ "targetPlatform": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "SQLDB",
+ "Unknown"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Target platform for the project."
+ }
+ },
+ "required": [
+ "sourcePlatform",
+ "targetPlatform"
+ ],
+ "description": "Project-specific properties"
+ },
+ "ProjectTaskProperties": {
+ "type": "object",
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToSourceSqlServerTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlMITaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlDbTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/GetUserTablesSqlTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlMITaskProperties"
+ },
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlDbTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ValidateMigrationInputSqlServerSqlMITaskProperties"
+ }
+ ],
+ "properties": {},
+ "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned."
+ },
+ "ServiceSku": {
+ "type": "object",
+ "properties": {
+ "capacity": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The capacity of the SKU, if it supports scaling"
+ },
+ "family": {
+ "type": "string",
+ "description": "The SKU family, used when the service has multiple performance classes within a tier, such as 'A', 'D', etc. for virtual machines"
+ },
+ "name": {
+ "type": "string",
+ "description": "The unique name of the SKU, such as 'P3'"
+ },
+ "size": {
+ "type": "string",
+ "description": "The size of the SKU, used when the name alone does not denote a service size or when a SKU has multiple performance classes within a family, e.g. 'A1' for virtual machines"
+ },
+ "tier": {
+ "type": "string",
+ "description": "The tier of the SKU, such as 'Free', 'Basic', 'Standard', or 'Premium'"
+ }
+ },
+ "description": "An Azure SKU instance"
+ },
+ "services_projects_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-03-15-preview"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the project"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ProjectProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Project-specific properties"
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "projects"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services/projects"
+ },
+ "services_projects_tasks_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-03-15-preview"
+ ]
+ },
+ "etag": {
+ "type": "string",
+ "description": "HTTP strong entity tag value. This is ignored if submitted."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the Task"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ProjectTaskProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "tasks"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services/projects/tasks"
+ },
+ "SqlConnectionInfo": {
+ "type": "object",
+ "properties": {
+ "additionalSettings": {
+ "type": "string",
+ "description": "Additional connection settings"
+ },
+ "authentication": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "None",
+ "WindowsAuthentication",
+ "SqlAuthentication",
+ "ActiveDirectoryIntegrated",
+ "ActiveDirectoryPassword"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Authentication type to use for connection."
+ },
+ "dataSource": {
+ "type": "string",
+ "description": "Data source in the format Protocol:MachineName\\SQLServerInstanceName,PortNumber"
+ },
+ "encryptConnection": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": true
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Whether to encrypt the connection"
+ },
+ "password": {
+ "type": "string",
+ "description": "Password credential."
+ },
+ "trustServerCertificate": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": false
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Whether to trust the server certificate"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "SqlConnectionInfo"
+ ]
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name"
+ }
+ },
+ "required": [
+ "dataSource",
+ "type"
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "ValidateMigrationInputSqlServerSqlMITaskInput": {
+ "type": "object",
+ "properties": {
+ "backupBlobShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/BlobShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Blob container storage information."
+ },
+ "backupFileShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/FileShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "File share information with Path, Username, and Password."
+ },
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateSqlServerSqlMIDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "backupBlobShare",
+ "selectedDatabases",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for task that validates migration input for SQL to Azure SQL Managed Instance"
+ },
+ "ValidateMigrationInputSqlServerSqlMITaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ValidateMigrationInputSqlServerSqlMITaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for task that validates migration input for SQL to Azure SQL Managed Instance"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ValidateMigrationInput.SqlServer.AzureSqlDbMI"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for task that validates migration input for SQL to Azure SQL Database Managed Instance"
+ }
+ }
+}
\ No newline at end of file
diff --git a/schemas/2018-03-31-preview/Microsoft.DataMigration.json b/schemas/2018-03-31-preview/Microsoft.DataMigration.json
new file mode 100644
index 0000000000..f3e42fe246
--- /dev/null
+++ b/schemas/2018-03-31-preview/Microsoft.DataMigration.json
@@ -0,0 +1,1245 @@
+{
+ "id": "https://schema.management.azure.com/schemas/2018-03-31-preview/Microsoft.DataMigration.json#",
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Microsoft.DataMigration",
+ "description": "Microsoft DataMigration Resource Types",
+ "resourceDefinitions": {
+ "services": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-03-31-preview"
+ ]
+ },
+ "etag": {
+ "type": "string",
+ "description": "HTTP strong entity tag value. Ignored if submitted"
+ },
+ "kind": {
+ "type": "string",
+ "description": "The resource kind. Only 'vm' (the default) is supported."
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the service"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DataMigrationServiceProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Properties of the Data Migration service instance"
+ },
+ "resources": {
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/services_projects_childResource"
+ }
+ ]
+ }
+ },
+ "sku": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ServiceSku"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "An Azure SKU instance"
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.DataMigration/services"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services"
+ },
+ "services_projects": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-03-31-preview"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the project"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ProjectProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Project-specific properties"
+ },
+ "resources": {
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/services_projects_tasks_childResource"
+ }
+ ]
+ }
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.DataMigration/services/projects"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services/projects"
+ },
+ "services_projects_tasks": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-03-31-preview"
+ ]
+ },
+ "etag": {
+ "type": "string",
+ "description": "HTTP strong entity tag value. This is ignored if submitted."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the Task"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ProjectTaskProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.DataMigration/services/projects/tasks"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services/projects/tasks"
+ }
+ },
+ "definitions": {
+ "BlobShare": {
+ "type": "object",
+ "properties": {
+ "sasUri": {
+ "type": "string",
+ "description": "SAS URI of Azure Storage Account Container."
+ }
+ },
+ "required": [
+ "sasUri"
+ ],
+ "description": "Blob container storage information."
+ },
+ "ConnectionInfo": {
+ "type": "object",
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ }
+ ],
+ "properties": {
+ "password": {
+ "type": "string",
+ "description": "Password credential."
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name"
+ }
+ },
+ "description": "Defines the connection properties of a server"
+ },
+ "ConnectToSourceSqlServerTaskInput": {
+ "type": "object",
+ "properties": {
+ "checkPermissionsGroup": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Default",
+ "MigrationFromSqlServerToAzureDB"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Permission group for validations."
+ },
+ "CollectAgentJobs": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": false
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Flag for whether to collect agent jobs from source server."
+ },
+ "CollectLogins": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": false
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Flag for whether to collect logins from source server."
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "sourceConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to SQL Server and also validates source server requirements"
+ },
+ "ConnectToSourceSqlServerTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToSourceSqlServerTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to SQL Server and also validates source server requirements"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToSource.SqlServer"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to SQL Server and also validates source server requirements"
+ },
+ "ConnectToTargetSqlDbTaskInput": {
+ "type": "object",
+ "properties": {
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to SQL DB and target server requirements"
+ },
+ "ConnectToTargetSqlDbTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlDbTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to SQL DB and target server requirements"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToTarget.SqlDb"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to SQL DB and target server requirements"
+ },
+ "ConnectToTargetSqlMITaskInput": {
+ "type": "object",
+ "properties": {
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to Azure SQL Database Managed Instance."
+ },
+ "ConnectToTargetSqlMITaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlMITaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to Azure SQL Database Managed Instance."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToTarget.AzureSqlDbMI"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to Azure SQL Database Managed Instance"
+ },
+ "DatabaseInfo": {
+ "type": "object",
+ "properties": {
+ "sourceDatabaseName": {
+ "type": "string",
+ "description": "Name of the database"
+ }
+ },
+ "required": [
+ "sourceDatabaseName"
+ ],
+ "description": "Project Database Details"
+ },
+ "DataMigrationServiceProperties": {
+ "type": "object",
+ "properties": {
+ "publicKey": {
+ "type": "string",
+ "description": "The public key of the service, used to encrypt secrets sent to the service"
+ },
+ "virtualSubnetId": {
+ "type": "string",
+ "description": "The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined"
+ }
+ },
+ "required": [
+ "virtualSubnetId"
+ ],
+ "description": "Properties of the Data Migration service instance"
+ },
+ "FileShare": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string",
+ "description": "Password credential used to connect to the share location."
+ },
+ "path": {
+ "type": "string",
+ "description": "The folder path for this share."
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name credential to connect to the share location"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "description": "File share information with Path, Username, and Password."
+ },
+ "GetUserTablesSqlTaskInput": {
+ "type": "object",
+ "properties": {
+ "connectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "List of database names to collect tables for"
+ }
+ },
+ "required": [
+ "connectionInfo",
+ "selectedDatabases"
+ ],
+ "description": "Input for the task that collects user tables for the given list of databases"
+ },
+ "GetUserTablesSqlTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/GetUserTablesSqlTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that collects user tables for the given list of databases"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "GetUserTables.Sql"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that collects user tables for the given list of databases"
+ },
+ "MigrateSqlServerSqlDbDatabaseInput": {
+ "type": "object",
+ "properties": {
+ "makeSourceDbReadOnly": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Whether to set database read only before migration"
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the database"
+ },
+ "tableMap": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Mapping of source to target tables"
+ },
+ "targetDatabaseName": {
+ "type": "string",
+ "description": "Name of target database. Note: Target database will be truncated before starting migration."
+ }
+ },
+ "description": "Database specific information for SQL to Azure SQL DB migration task inputs"
+ },
+ "MigrateSqlServerSqlDbTaskInput": {
+ "type": "object",
+ "properties": {
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateSqlServerSqlDbDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "validationOptions": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrationValidationOptions"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Types of validations to run after the migration"
+ }
+ },
+ "required": [
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that migrates on-prem SQL Server databases to Azure SQL Database"
+ },
+ "MigrateSqlServerSqlDbTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlDbTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that migrates on-prem SQL Server databases to Azure SQL Database"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Migrate.SqlServer.SqlDb"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that migrates on-prem SQL Server databases to Azure SQL Database"
+ },
+ "MigrateSqlServerSqlMIDatabaseInput": {
+ "type": "object",
+ "properties": {
+ "backupFileShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/FileShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "File share information with Path, Username, and Password."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the database"
+ },
+ "restoreDatabaseName": {
+ "type": "string",
+ "description": "Name of the database at destination"
+ }
+ },
+ "required": [
+ "name",
+ "restoreDatabaseName"
+ ],
+ "description": "Database specific information for SQL to Azure SQL DB Managed Instance migration task inputs"
+ },
+ "MigrateSqlServerSqlMITaskInput": {
+ "type": "object",
+ "properties": {
+ "backupBlobShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/BlobShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Blob container storage information."
+ },
+ "backupFileShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/FileShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "File share information with Path, Username, and Password."
+ },
+ "selectedAgentJobs": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Agent Jobs to migrate."
+ },
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateSqlServerSqlMIDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "selectedLogins": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Logins to migrate."
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "backupBlobShare",
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance."
+ },
+ "MigrateSqlServerSqlMITaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlMITaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Migrate.SqlServer.AzureSqlDbMI"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for task that migrates SQL Server databases to Azure SQL Database Managed Instance"
+ },
+ "MigrationValidationOptions": {
+ "type": "object",
+ "properties": {
+ "enableDataIntegrityValidation": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Allows to perform a checksum based data integrity validation between source and target for the selected database / tables ."
+ },
+ "enableQueryAnalysisValidation": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Allows to perform a quick and intelligent query analysis by retrieving queries from the source database and executes them in the target. The result will have execution statistics for executions in source and target databases for the extracted queries."
+ },
+ "enableSchemaValidation": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Allows to compare the schema information between source and target."
+ }
+ },
+ "description": "Types of validations to run after the migration"
+ },
+ "ProjectProperties": {
+ "type": "object",
+ "properties": {
+ "databasesInfo": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DatabaseInfo"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "List of DatabaseInfo"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Defines the connection properties of a server"
+ },
+ "sourcePlatform": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "SQL",
+ "Unknown"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Source platform for the project."
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Defines the connection properties of a server"
+ },
+ "targetPlatform": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "SQLDB",
+ "SQLMI",
+ "Unknown"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Target platform for the project."
+ }
+ },
+ "required": [
+ "sourcePlatform",
+ "targetPlatform"
+ ],
+ "description": "Project-specific properties"
+ },
+ "ProjectTaskProperties": {
+ "type": "object",
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToSourceSqlServerTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlMITaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlDbTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/GetUserTablesSqlTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlMITaskProperties"
+ },
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlDbTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ValidateMigrationInputSqlServerSqlMITaskProperties"
+ }
+ ],
+ "properties": {},
+ "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned."
+ },
+ "ServiceSku": {
+ "type": "object",
+ "properties": {
+ "capacity": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The capacity of the SKU, if it supports scaling"
+ },
+ "family": {
+ "type": "string",
+ "description": "The SKU family, used when the service has multiple performance classes within a tier, such as 'A', 'D', etc. for virtual machines"
+ },
+ "name": {
+ "type": "string",
+ "description": "The unique name of the SKU, such as 'P3'"
+ },
+ "size": {
+ "type": "string",
+ "description": "The size of the SKU, used when the name alone does not denote a service size or when a SKU has multiple performance classes within a family, e.g. 'A1' for virtual machines"
+ },
+ "tier": {
+ "type": "string",
+ "description": "The tier of the SKU, such as 'Free', 'Basic', 'Standard', or 'Premium'"
+ }
+ },
+ "description": "An Azure SKU instance"
+ },
+ "services_projects_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-03-31-preview"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the project"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ProjectProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Project-specific properties"
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "projects"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services/projects"
+ },
+ "services_projects_tasks_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-03-31-preview"
+ ]
+ },
+ "etag": {
+ "type": "string",
+ "description": "HTTP strong entity tag value. This is ignored if submitted."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the Task"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ProjectTaskProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "tasks"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services/projects/tasks"
+ },
+ "SqlConnectionInfo": {
+ "type": "object",
+ "properties": {
+ "additionalSettings": {
+ "type": "string",
+ "description": "Additional connection settings"
+ },
+ "authentication": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "None",
+ "WindowsAuthentication",
+ "SqlAuthentication",
+ "ActiveDirectoryIntegrated",
+ "ActiveDirectoryPassword"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Authentication type to use for connection."
+ },
+ "dataSource": {
+ "type": "string",
+ "description": "Data source in the format Protocol:MachineName\\SQLServerInstanceName,PortNumber"
+ },
+ "encryptConnection": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": true
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Whether to encrypt the connection"
+ },
+ "password": {
+ "type": "string",
+ "description": "Password credential."
+ },
+ "trustServerCertificate": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": false
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Whether to trust the server certificate"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "SqlConnectionInfo"
+ ]
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name"
+ }
+ },
+ "required": [
+ "dataSource",
+ "type"
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "ValidateMigrationInputSqlServerSqlMITaskInput": {
+ "type": "object",
+ "properties": {
+ "backupBlobShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/BlobShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Blob container storage information."
+ },
+ "backupFileShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/FileShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "File share information with Path, Username, and Password."
+ },
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateSqlServerSqlMIDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "backupBlobShare",
+ "selectedDatabases",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for task that validates migration input for SQL to Azure SQL Managed Instance"
+ },
+ "ValidateMigrationInputSqlServerSqlMITaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ValidateMigrationInputSqlServerSqlMITaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for task that validates migration input for SQL to Azure SQL Managed Instance"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ValidateMigrationInput.SqlServer.AzureSqlDbMI"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for task that validates migration input for SQL to Azure SQL Database Managed Instance"
+ }
+ }
+}
\ No newline at end of file
diff --git a/schemas/2018-04-19/Microsoft.DataMigration.json b/schemas/2018-04-19/Microsoft.DataMigration.json
new file mode 100644
index 0000000000..14e4ed40f9
--- /dev/null
+++ b/schemas/2018-04-19/Microsoft.DataMigration.json
@@ -0,0 +1,2785 @@
+{
+ "id": "https://schema.management.azure.com/schemas/2018-04-19/Microsoft.DataMigration.json#",
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Microsoft.DataMigration",
+ "description": "Microsoft DataMigration Resource Types",
+ "resourceDefinitions": {
+ "services": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-04-19"
+ ]
+ },
+ "etag": {
+ "type": "string",
+ "description": "HTTP strong entity tag value. Ignored if submitted"
+ },
+ "kind": {
+ "type": "string",
+ "description": "The resource kind. Only 'vm' (the default) is supported."
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the service"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DataMigrationServiceProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Properties of the Data Migration service instance"
+ },
+ "resources": {
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/services_projects_childResource"
+ }
+ ]
+ }
+ },
+ "sku": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ServiceSku"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "An Azure SKU instance"
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.DataMigration/services"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services"
+ },
+ "services_projects": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-04-19"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the project"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ProjectProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Project-specific properties"
+ },
+ "resources": {
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/services_projects_tasks_childResource"
+ }
+ ]
+ }
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.DataMigration/services/projects"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services/projects"
+ },
+ "services_projects_tasks": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-04-19"
+ ]
+ },
+ "etag": {
+ "type": "string",
+ "description": "HTTP strong entity tag value. This is ignored if submitted."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the Task"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ProjectTaskProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.DataMigration/services/projects/tasks"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services/projects/tasks"
+ }
+ },
+ "definitions": {
+ "AzureActiveDirectoryApp": {
+ "type": "object",
+ "properties": {
+ "appKey": {
+ "type": "string",
+ "description": "Key used to authenticate to the Azure Active Directory Application"
+ },
+ "applicationId": {
+ "type": "string",
+ "description": "Application ID of the Azure Active Directory Application"
+ },
+ "tenantId": {
+ "type": "string",
+ "description": "Tenant id of the customer"
+ }
+ },
+ "required": [
+ "appKey",
+ "applicationId",
+ "tenantId"
+ ],
+ "description": "Azure Active Directory Application"
+ },
+ "BlobShare": {
+ "type": "object",
+ "properties": {
+ "sasUri": {
+ "type": "string",
+ "description": "SAS URI of Azure Storage Account Container."
+ }
+ },
+ "required": [
+ "sasUri"
+ ],
+ "description": "Blob container storage information."
+ },
+ "ConnectionInfo": {
+ "type": "object",
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "#/definitions/MySqlConnectionInfo"
+ },
+ {
+ "$ref": "#/definitions/PostgreSqlConnectionInfo"
+ },
+ {
+ "$ref": "#/definitions/MiSqlConnectionInfo"
+ }
+ ],
+ "properties": {
+ "password": {
+ "type": "string",
+ "description": "Password credential."
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name"
+ }
+ },
+ "description": "Defines the connection properties of a server"
+ },
+ "ConnectToSourceMySqlTaskInput": {
+ "type": "object",
+ "properties": {
+ "checkPermissionsGroup": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Default",
+ "MigrationFromSqlServerToAzureDB",
+ "MigrationFromSqlServerToAzureMI",
+ "MigrationFromMySQLToAzureDBForMySQL"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Permission group for validations."
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MySqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to MySQL server"
+ },
+ "targetPlatform": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "SqlServer",
+ "AzureDbForMySQL"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Target Platform for the migration."
+ }
+ },
+ "required": [
+ "sourceConnectionInfo"
+ ],
+ "description": "Input for the task that validates MySQL database connection"
+ },
+ "ConnectToSourceMySqlTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToSourceMySqlTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates MySQL database connection"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToSource.MySql"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates MySQL database connection"
+ },
+ "ConnectToSourcePostgreSqlSyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PostgreSqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to PostgreSQL server"
+ }
+ },
+ "required": [
+ "sourceConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to PostgreSQL and source server requirements"
+ },
+ "ConnectToSourcePostgreSqlSyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToSourcePostgreSqlSyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to PostgreSQL and source server requirements"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToSource.PostgreSql.Sync"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to PostgreSQL server and source server requirements for online migration"
+ },
+ "ConnectToSourceSqlServerSyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToSourceSqlServerTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to SQL Server and also validates source server requirements"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToSource.SqlServer.Sync"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to SQL Server and source server requirements for online migration"
+ },
+ "ConnectToSourceSqlServerTaskInput": {
+ "type": "object",
+ "properties": {
+ "checkPermissionsGroup": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Default",
+ "MigrationFromSqlServerToAzureDB",
+ "MigrationFromSqlServerToAzureMI",
+ "MigrationFromMySQLToAzureDBForMySQL"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Permission group for validations."
+ },
+ "collectAgentJobs": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": false
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Flag for whether to collect agent jobs from source server."
+ },
+ "collectLogins": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": false
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Flag for whether to collect logins from source server."
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "sourceConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to SQL Server and also validates source server requirements"
+ },
+ "ConnectToSourceSqlServerTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToSourceSqlServerTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to SQL Server and also validates source server requirements"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToSource.SqlServer"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to SQL Server and also validates source server requirements"
+ },
+ "ConnectToTargetAzureDbForMySqlTaskInput": {
+ "type": "object",
+ "properties": {
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MySqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to MySQL server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MySqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to MySQL server"
+ }
+ },
+ "required": [
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to Azure Database for MySQL and target server requirements"
+ },
+ "ConnectToTargetAzureDbForMySqlTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToTargetAzureDbForMySqlTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to Azure Database for MySQL and target server requirements"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToTarget.AzureDbForMySql"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to Azure Database for MySQL and target server requirements"
+ },
+ "ConnectToTargetAzureDbForPostgreSqlSyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PostgreSqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to PostgreSQL server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PostgreSqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to PostgreSQL server"
+ }
+ },
+ "required": [
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to Azure Database for PostgreSQL and target server requirements"
+ },
+ "ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToTargetAzureDbForPostgreSqlSyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to Azure Database for PostgreSQL and target server requirements"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToTarget.AzureDbForPostgreSql.Sync"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to Azure Database For PostgreSQL server and target server requirements for online migration"
+ },
+ "ConnectToTargetSqlDbTaskInput": {
+ "type": "object",
+ "properties": {
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to SQL DB and target server requirements"
+ },
+ "ConnectToTargetSqlDbTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlDbTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to SQL DB and target server requirements"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToTarget.SqlDb"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to SQL DB and target server requirements"
+ },
+ "ConnectToTargetSqlMISyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "azureApp": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/AzureActiveDirectoryApp"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Azure Active Directory Application"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MiSqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Properties required to create a connection to Azure SQL database Managed instance"
+ }
+ },
+ "required": [
+ "azureApp",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to Azure SQL Database Managed Instance online scenario."
+ },
+ "ConnectToTargetSqlMISyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlMISyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to Azure SQL Database Managed Instance online scenario."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToTarget.AzureSqlDbMI.Sync.LRS"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to Azure SQL Database Managed Instance"
+ },
+ "ConnectToTargetSqlMITaskInput": {
+ "type": "object",
+ "properties": {
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to Azure SQL Database Managed Instance."
+ },
+ "ConnectToTargetSqlMITaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlMITaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to Azure SQL Database Managed Instance."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToTarget.AzureSqlDbMI"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to Azure SQL Database Managed Instance"
+ },
+ "ConnectToTargetSqlSqlDbSyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to Azure SQL DB and target server requirements"
+ },
+ "ConnectToTargetSqlSqlDbSyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlSqlDbSyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to Azure SQL DB and target server requirements"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToTarget.SqlDb.Sync"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to SQL DB and target server requirements for online migration"
+ },
+ "DatabaseInfo": {
+ "type": "object",
+ "properties": {
+ "sourceDatabaseName": {
+ "type": "string",
+ "description": "Name of the database"
+ }
+ },
+ "required": [
+ "sourceDatabaseName"
+ ],
+ "description": "Project Database Details"
+ },
+ "DataMigrationServiceProperties": {
+ "type": "object",
+ "properties": {
+ "publicKey": {
+ "type": "string",
+ "description": "The public key of the service, used to encrypt secrets sent to the service"
+ },
+ "virtualSubnetId": {
+ "type": "string",
+ "description": "The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined"
+ }
+ },
+ "required": [
+ "virtualSubnetId"
+ ],
+ "description": "Properties of the Data Migration service instance"
+ },
+ "FileShare": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string",
+ "description": "Password credential used to connect to the share location."
+ },
+ "path": {
+ "type": "string",
+ "description": "The folder path for this share."
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name credential to connect to the share location"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "description": "File share information with Path, Username, and Password."
+ },
+ "GetTdeCertificatesSqlTaskInput": {
+ "type": "object",
+ "properties": {
+ "backupFileShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/FileShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "File share information with Path, Username, and Password."
+ },
+ "connectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "selectedCertificates": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectedCertificateInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "List containing certificate names and corresponding password to use for encrypting the exported certificate."
+ }
+ },
+ "required": [
+ "backupFileShare",
+ "connectionInfo",
+ "selectedCertificates"
+ ],
+ "description": "Input for the task that gets TDE certificates in Base64 encoded format."
+ },
+ "GetTdeCertificatesSqlTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/GetTdeCertificatesSqlTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that gets TDE certificates in Base64 encoded format."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "GetTDECertificates.Sql"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that gets TDE certificates in Base64 encoded format."
+ },
+ "GetUserTablesSqlSyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "selectedSourceDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "List of source database names to collect tables for"
+ },
+ "selectedTargetDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "List of target database names to collect tables for"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "selectedSourceDatabases",
+ "selectedTargetDatabases",
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that collects user tables for the given list of databases"
+ },
+ "GetUserTablesSqlSyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/GetUserTablesSqlSyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that collects user tables for the given list of databases"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "GetUserTables.AzureSqlDb.Sync"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that collects user tables for the given list of databases"
+ },
+ "GetUserTablesSqlTaskInput": {
+ "type": "object",
+ "properties": {
+ "connectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "List of database names to collect tables for"
+ }
+ },
+ "required": [
+ "connectionInfo",
+ "selectedDatabases"
+ ],
+ "description": "Input for the task that collects user tables for the given list of databases"
+ },
+ "GetUserTablesSqlTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/GetUserTablesSqlTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that collects user tables for the given list of databases"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "GetUserTables.Sql"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that collects user tables for the given list of databases"
+ },
+ "MigrateMySqlAzureDbForMySqlSyncDatabaseInput": {
+ "type": "object",
+ "properties": {
+ "migrationSetting": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Migration settings which tune the migration behavior"
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the database"
+ },
+ "sourceSetting": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Source settings to tune source endpoint migration behavior"
+ },
+ "targetDatabaseName": {
+ "type": "string",
+ "description": "Name of target database. Note: Target database will be truncated before starting migration."
+ },
+ "targetSetting": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Target settings to tune target endpoint migration behavior"
+ }
+ },
+ "description": "Database specific information for MySQL to Azure Database for MySQL migration task inputs"
+ },
+ "MigrateMySqlAzureDbForMySqlSyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateMySqlAzureDbForMySqlSyncDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MySqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to MySQL server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MySqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to MySQL server"
+ }
+ },
+ "required": [
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that migrates MySQL databases to Azure Database for MySQL for online migrations"
+ },
+ "MigrateMySqlAzureDbForMySqlSyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrateMySqlAzureDbForMySqlSyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that migrates MySQL databases to Azure Database for MySQL for online migrations"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Migrate.MySql.AzureDbForMySql.Sync"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that migrates MySQL databases to Azure Database for MySQL for online migrations"
+ },
+ "MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput": {
+ "type": "object",
+ "properties": {
+ "migrationSetting": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Migration settings which tune the migration behavior"
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the database"
+ },
+ "sourceSetting": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Source settings to tune source endpoint migration behavior"
+ },
+ "targetDatabaseName": {
+ "type": "string",
+ "description": "Name of target database. Note: Target database will be truncated before starting migration."
+ },
+ "targetSetting": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Target settings to tune target endpoint migration behavior"
+ }
+ },
+ "description": "Database specific information for PostgreSQL to Azure Database for PostgreSQL migration task inputs"
+ },
+ "MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PostgreSqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to PostgreSQL server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PostgreSqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to PostgreSQL server"
+ }
+ },
+ "required": [
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that migrates PostgreSQL databases to Azure Database for PostgreSQL for online migrations"
+ },
+ "MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that migrates PostgreSQL databases to Azure Database for PostgreSQL for online migrations"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Migrate.PostgreSql.AzureDbForPostgreSql.Sync"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that migrates PostgreSQL databases to Azure Database for PostgreSQL for online migrations"
+ },
+ "MigrateSqlServerSqlDbDatabaseInput": {
+ "type": "object",
+ "properties": {
+ "makeSourceDbReadOnly": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Whether to set database read only before migration"
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the database"
+ },
+ "tableMap": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Mapping of source to target tables"
+ },
+ "targetDatabaseName": {
+ "type": "string",
+ "description": "Name of target database. Note: Target database will be truncated before starting migration."
+ }
+ },
+ "description": "Database specific information for SQL to Azure SQL DB migration task inputs"
+ },
+ "MigrateSqlServerSqlDbSyncDatabaseInput": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Unique identifier for database"
+ },
+ "migrationSetting": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Migration settings which tune the migration behavior"
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of database"
+ },
+ "schemaName": {
+ "type": "string",
+ "description": "Schema name to be migrated"
+ },
+ "sourceSetting": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Source settings to tune source endpoint migration behavior"
+ },
+ "tableMap": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Mapping of source to target tables"
+ },
+ "targetDatabaseName": {
+ "type": "string",
+ "description": "Target database name"
+ },
+ "targetSetting": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Target settings to tune target endpoint migration behavior"
+ }
+ },
+ "description": "Database specific information for SQL to Azure SQL DB sync migration task inputs"
+ },
+ "MigrateSqlServerSqlDbSyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateSqlServerSqlDbSyncDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "validationOptions": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrationValidationOptions"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Types of validations to run after the migration"
+ }
+ },
+ "required": [
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that migrates on-prem SQL Server databases to Azure SQL Database for online migrations"
+ },
+ "MigrateSqlServerSqlDbSyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlDbSyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that migrates on-prem SQL Server databases to Azure SQL Database for online migrations"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Migrate.SqlServer.AzureSqlDb.Sync"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that migrates on-prem SQL Server databases to Azure SQL Database for online migrations"
+ },
+ "MigrateSqlServerSqlDbTaskInput": {
+ "type": "object",
+ "properties": {
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateSqlServerSqlDbDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "validationOptions": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrationValidationOptions"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Types of validations to run after the migration"
+ }
+ },
+ "required": [
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that migrates on-prem SQL Server databases to Azure SQL Database"
+ },
+ "MigrateSqlServerSqlDbTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlDbTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that migrates on-prem SQL Server databases to Azure SQL Database"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Migrate.SqlServer.SqlDb"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that migrates on-prem SQL Server databases to Azure SQL Database"
+ },
+ "MigrateSqlServerSqlMIDatabaseInput": {
+ "type": "object",
+ "properties": {
+ "backupFilePaths": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The list of backup files to be used in case of existing backups."
+ },
+ "backupFileShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/FileShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "File share information with Path, Username, and Password."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the database"
+ },
+ "restoreDatabaseName": {
+ "type": "string",
+ "description": "Name of the database at destination"
+ }
+ },
+ "required": [
+ "name",
+ "restoreDatabaseName"
+ ],
+ "description": "Database specific information for SQL to Azure SQL DB Managed Instance migration task inputs"
+ },
+ "MigrateSqlServerSqlMISyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "azureApp": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/AzureActiveDirectoryApp"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Azure Active Directory Application"
+ },
+ "backupFileShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/FileShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "File share information with Path, Username, and Password."
+ },
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateSqlServerSqlMIDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "storageResourceId": {
+ "type": "string",
+ "description": "Fully qualified resourceId of storage"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MiSqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Properties required to create a connection to Azure SQL database Managed instance"
+ }
+ },
+ "required": [
+ "azureApp",
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "storageResourceId",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance online scenario."
+ },
+ "MigrateSqlServerSqlMISyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlMISyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance online scenario."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Migrate.SqlServer.AzureSqlDbMI.Sync.LRS"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for task that migrates SQL Server databases to Azure SQL Database Managed Instance sync scenario"
+ },
+ "MigrateSqlServerSqlMITaskInput": {
+ "type": "object",
+ "properties": {
+ "backupBlobShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/BlobShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Blob container storage information."
+ },
+ "backupFileShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/FileShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "File share information with Path, Username, and Password."
+ },
+ "backupMode": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "CreateBackup",
+ "ExistingBackup"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Backup Mode to specify whether to use existing backup or create new backup. If using existing backups, backup file paths are required to be provided in selectedDatabases."
+ },
+ "selectedAgentJobs": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Agent Jobs to migrate."
+ },
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateSqlServerSqlMIDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "selectedLogins": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Logins to migrate."
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "backupBlobShare",
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance."
+ },
+ "MigrateSqlServerSqlMITaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlMITaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Migrate.SqlServer.AzureSqlDbMI"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for task that migrates SQL Server databases to Azure SQL Database Managed Instance"
+ },
+ "MigrationValidationOptions": {
+ "type": "object",
+ "properties": {
+ "enableDataIntegrityValidation": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Allows to perform a checksum based data integrity validation between source and target for the selected database / tables ."
+ },
+ "enableQueryAnalysisValidation": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Allows to perform a quick and intelligent query analysis by retrieving queries from the source database and executes them in the target. The result will have execution statistics for executions in source and target databases for the extracted queries."
+ },
+ "enableSchemaValidation": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Allows to compare the schema information between source and target."
+ }
+ },
+ "description": "Types of validations to run after the migration"
+ },
+ "MiSqlConnectionInfo": {
+ "type": "object",
+ "properties": {
+ "managedInstanceResourceId": {
+ "type": "string",
+ "description": "Resource id for Azure SQL database Managed instance"
+ },
+ "password": {
+ "type": "string",
+ "description": "Password credential."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "MiSqlConnectionInfo"
+ ]
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name"
+ }
+ },
+ "required": [
+ "managedInstanceResourceId",
+ "type"
+ ],
+ "description": "Properties required to create a connection to Azure SQL database Managed instance"
+ },
+ "MySqlConnectionInfo": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string",
+ "description": "Password credential."
+ },
+ "port": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Port for Server"
+ },
+ "serverName": {
+ "type": "string",
+ "description": "Name of the server"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "MySqlConnectionInfo"
+ ]
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name"
+ }
+ },
+ "required": [
+ "port",
+ "serverName",
+ "type"
+ ],
+ "description": "Information for connecting to MySQL server"
+ },
+ "PostgreSqlConnectionInfo": {
+ "type": "object",
+ "properties": {
+ "databaseName": {
+ "type": "string",
+ "description": "Name of the database"
+ },
+ "password": {
+ "type": "string",
+ "description": "Password credential."
+ },
+ "port": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Port for Server"
+ },
+ "serverName": {
+ "type": "string",
+ "description": "Name of the server"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "PostgreSqlConnectionInfo"
+ ]
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name"
+ }
+ },
+ "required": [
+ "port",
+ "serverName",
+ "type"
+ ],
+ "description": "Information for connecting to PostgreSQL server"
+ },
+ "ProjectProperties": {
+ "type": "object",
+ "properties": {
+ "databasesInfo": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DatabaseInfo"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "List of DatabaseInfo"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Defines the connection properties of a server"
+ },
+ "sourcePlatform": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "SQL",
+ "Unknown"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Source platform for the project."
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Defines the connection properties of a server"
+ },
+ "targetPlatform": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "SQLDB",
+ "Unknown"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Target platform for the project."
+ }
+ },
+ "required": [
+ "sourcePlatform",
+ "targetPlatform"
+ ],
+ "description": "Project-specific properties"
+ },
+ "ProjectTaskProperties": {
+ "type": "object",
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToSourceMySqlTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToSourceSqlServerTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToSourceSqlServerSyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToSourcePostgreSqlSyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlDbTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlSqlDbSyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/GetUserTablesSqlTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/GetUserTablesSqlSyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlMITaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlMISyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToTargetAzureDbForMySqlTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlMITaskProperties"
+ },
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlMISyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlDbTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlDbSyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/MigrateMySqlAzureDbForMySqlSyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ValidateMigrationInputSqlServerSqlDbSyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ValidateMigrationInputSqlServerSqlMITaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ValidateMigrationInputSqlServerSqlMISyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/GetTdeCertificatesSqlTaskProperties"
+ }
+ ],
+ "properties": {},
+ "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned."
+ },
+ "SelectedCertificateInput": {
+ "type": "object",
+ "properties": {
+ "certificateName": {
+ "type": "string",
+ "description": "Name of certificate to be exported."
+ },
+ "password": {
+ "type": "string",
+ "description": "Password to use for encrypting the exported certificate."
+ }
+ },
+ "required": [
+ "certificateName",
+ "password"
+ ],
+ "description": "Info for certificate to be exported for TDE enabled databases."
+ },
+ "ServiceSku": {
+ "type": "object",
+ "properties": {
+ "capacity": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The capacity of the SKU, if it supports scaling"
+ },
+ "family": {
+ "type": "string",
+ "description": "The SKU family, used when the service has multiple performance classes within a tier, such as 'A', 'D', etc. for virtual machines"
+ },
+ "name": {
+ "type": "string",
+ "description": "The unique name of the SKU, such as 'P3'"
+ },
+ "size": {
+ "type": "string",
+ "description": "The size of the SKU, used when the name alone does not denote a service size or when a SKU has multiple performance classes within a family, e.g. 'A1' for virtual machines"
+ },
+ "tier": {
+ "type": "string",
+ "description": "The tier of the SKU, such as 'Free', 'Basic', 'Standard', or 'Premium'"
+ }
+ },
+ "description": "An Azure SKU instance"
+ },
+ "services_projects_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-04-19"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the project"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ProjectProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Project-specific properties"
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "projects"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services/projects"
+ },
+ "services_projects_tasks_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-04-19"
+ ]
+ },
+ "etag": {
+ "type": "string",
+ "description": "HTTP strong entity tag value. This is ignored if submitted."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the Task"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ProjectTaskProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "tasks"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services/projects/tasks"
+ },
+ "SqlConnectionInfo": {
+ "type": "object",
+ "properties": {
+ "additionalSettings": {
+ "type": "string",
+ "description": "Additional connection settings"
+ },
+ "authentication": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "None",
+ "WindowsAuthentication",
+ "SqlAuthentication",
+ "ActiveDirectoryIntegrated",
+ "ActiveDirectoryPassword"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Authentication type to use for connection."
+ },
+ "dataSource": {
+ "type": "string",
+ "description": "Data source in the format Protocol:MachineName\\SQLServerInstanceName,PortNumber"
+ },
+ "encryptConnection": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": true
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Whether to encrypt the connection"
+ },
+ "password": {
+ "type": "string",
+ "description": "Password credential."
+ },
+ "platform": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "SqlOnPrem"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Server platform type for connection."
+ },
+ "trustServerCertificate": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": false
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Whether to trust the server certificate"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "SqlConnectionInfo"
+ ]
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name"
+ }
+ },
+ "required": [
+ "dataSource",
+ "type"
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "ValidateMigrationInputSqlServerSqlDbSyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ValidateSyncMigrationInputSqlServerTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for task that validates migration input for SQL sync migrations"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ValidateMigrationInput.SqlServer.SqlDb.Sync"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for task that validates migration input for SQL to Azure SQL DB sync migrations"
+ },
+ "ValidateMigrationInputSqlServerSqlMISyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "azureApp": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/AzureActiveDirectoryApp"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Azure Active Directory Application"
+ },
+ "backupFileShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/FileShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "File share information with Path, Username, and Password."
+ },
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateSqlServerSqlMIDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "storageResourceId": {
+ "type": "string",
+ "description": "Fully qualified resourceId of storage"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MiSqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Properties required to create a connection to Azure SQL database Managed instance"
+ }
+ },
+ "required": [
+ "azureApp",
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "storageResourceId",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance online scenario."
+ },
+ "ValidateMigrationInputSqlServerSqlMISyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ValidateMigrationInputSqlServerSqlMISyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance online scenario."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for task that validates migration input for SQL to Azure SQL Database Managed Instance sync scenario"
+ },
+ "ValidateMigrationInputSqlServerSqlMITaskInput": {
+ "type": "object",
+ "properties": {
+ "backupBlobShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/BlobShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Blob container storage information."
+ },
+ "backupFileShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/FileShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "File share information with Path, Username, and Password."
+ },
+ "backupMode": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "CreateBackup",
+ "ExistingBackup"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Backup Mode to specify whether to use existing backup or create new backup."
+ },
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateSqlServerSqlMIDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "selectedLogins": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Logins to migrate"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "backupBlobShare",
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for task that validates migration input for SQL to Azure SQL Managed Instance"
+ },
+ "ValidateMigrationInputSqlServerSqlMITaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ValidateMigrationInputSqlServerSqlMITaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for task that validates migration input for SQL to Azure SQL Managed Instance"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ValidateMigrationInput.SqlServer.AzureSqlDbMI"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for task that validates migration input for SQL to Azure SQL Database Managed Instance"
+ },
+ "ValidateSyncMigrationInputSqlServerTaskInput": {
+ "type": "object",
+ "properties": {
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateSqlServerSqlDbSyncDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for task that validates migration input for SQL sync migrations"
+ }
+ }
+}
\ No newline at end of file
diff --git a/schemas/2018-05-01/subscriptionDeploymentTemplate.json b/schemas/2018-05-01/subscriptionDeploymentTemplate.json
index ad6a84d102..ddbd60c4e6 100644
--- a/schemas/2018-05-01/subscriptionDeploymentTemplate.json
+++ b/schemas/2018-05-01/subscriptionDeploymentTemplate.json
@@ -142,6 +142,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2020-04-01-preview/Microsoft.ChangeAnalysis.json#/subscription_resourceDefinitions/profile"
},
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2020-03-01-preview/Microsoft.Confluent.json#/subscription_resourceDefinitions/agreements"
+ },
{
"$ref": "https://schema.management.azure.com/schemas/2017-12-30-preview/Microsoft.Consumption.json#/subscription_resourceDefinitions/budgets"
},
@@ -178,6 +181,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets"
},
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2020-02-01-preview/Microsoft.Datadog.json#/subscription_resourceDefinitions/agreements"
+ },
{
"$ref": "https://schema.management.azure.com/schemas/2017-06-15-preview/Microsoft.EventGrid.json#/unknown_resourceDefinitions/eventSubscriptions"
},
@@ -211,6 +217,18 @@
{
"$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.EventGrid.json#/unknown_resourceDefinitions/eventSubscriptions"
},
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2020-01-01-preview/Microsoft.HybridNetwork.json#/subscription_resourceDefinitions/locations_vendors_networkFunctions"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2020-01-01-preview/Microsoft.HybridNetwork.json#/subscription_resourceDefinitions/vendors"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2020-01-01-preview/Microsoft.HybridNetwork.json#/subscription_resourceDefinitions/vendors_vendorSkus"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/2020-01-01-preview/Microsoft.HybridNetwork.json#/subscription_resourceDefinitions/vendors_vendorSkus_previewSubscriptions"
+ },
{
"$ref": "https://schema.management.azure.com/schemas/2019-06-01-preview/Microsoft.ManagedNetwork.json#/unknown_resourceDefinitions/scopeAssignments"
},
diff --git a/schemas/2018-06-01-preview/Microsoft.Sql.json b/schemas/2018-06-01-preview/Microsoft.Sql.json
index 850e9335ae..3d1402345c 100644
--- a/schemas/2018-06-01-preview/Microsoft.Sql.json
+++ b/schemas/2018-06-01-preview/Microsoft.Sql.json
@@ -1112,7 +1112,9 @@
{
"type": "string",
"enum": [
- "SystemAssigned"
+ "None",
+ "SystemAssigned",
+ "UserAssigned"
]
},
{
diff --git a/schemas/2018-06-01/Microsoft.DataFactory.json b/schemas/2018-06-01/Microsoft.DataFactory.json
index f913d757f2..0335914c51 100644
--- a/schemas/2018-06-01/Microsoft.DataFactory.json
+++ b/schemas/2018-06-01/Microsoft.DataFactory.json
@@ -5908,6 +5908,16 @@
],
"description": "Cmdkey command custom setup type properties."
},
+ "CMKIdentityDefinition": {
+ "type": "object",
+ "properties": {
+ "userAssignedIdentity": {
+ "type": "string",
+ "description": "The resource id of the user assigned identity to authenticate to customer's key vault."
+ }
+ },
+ "description": "Managed Identity used for CMK."
+ },
"CommonDataServiceForAppsEntityDataset": {
"type": "object",
"properties": {
@@ -10376,6 +10386,39 @@
],
"description": "A copy activity Eloqua server source."
},
+ "EncryptionConfiguration": {
+ "type": "object",
+ "properties": {
+ "identity": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/CMKIdentityDefinition"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Managed Identity used for CMK."
+ },
+ "keyName": {
+ "type": "string",
+ "description": "The name of the key in Azure Key Vault to use as Customer Managed Key."
+ },
+ "keyVersion": {
+ "type": "string",
+ "description": "The version of the key used for CMK. If not provided, latest version will be used."
+ },
+ "vaultBaseUrl": {
+ "type": "string",
+ "description": "The url of the Azure Key Vault used for CMK."
+ }
+ },
+ "required": [
+ "keyName",
+ "vaultBaseUrl"
+ ],
+ "description": "Definition of CMK for the factory."
+ },
"EntityReference": {
"type": "object",
"properties": {
@@ -11490,7 +11533,23 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
- "description": "The identity type. Currently the only supported type is 'SystemAssigned'."
+ "description": "The identity type."
+ },
+ "userAssignedIdentities": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {}
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Definition of all user assigned identities for a factory."
}
},
"required": [
@@ -11501,6 +11560,17 @@
"FactoryProperties": {
"type": "object",
"properties": {
+ "encryption": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/EncryptionConfiguration"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Definition of CMK for the factory."
+ },
"globalParameters": {
"oneOf": [
{
diff --git a/schemas/2018-07-15-preview/Microsoft.DataMigration.json b/schemas/2018-07-15-preview/Microsoft.DataMigration.json
new file mode 100644
index 0000000000..3ded94060b
--- /dev/null
+++ b/schemas/2018-07-15-preview/Microsoft.DataMigration.json
@@ -0,0 +1,4347 @@
+{
+ "id": "https://schema.management.azure.com/schemas/2018-07-15-preview/Microsoft.DataMigration.json#",
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Microsoft.DataMigration",
+ "description": "Microsoft DataMigration Resource Types",
+ "resourceDefinitions": {
+ "services": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-07-15-preview"
+ ]
+ },
+ "etag": {
+ "type": "string",
+ "description": "HTTP strong entity tag value. Ignored if submitted"
+ },
+ "kind": {
+ "type": "string",
+ "description": "The resource kind. Only 'vm' (the default) is supported."
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the service"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DataMigrationServiceProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Properties of the Database Migration Service instance"
+ },
+ "resources": {
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/services_serviceTasks_childResource"
+ },
+ {
+ "$ref": "#/definitions/services_projects_childResource"
+ }
+ ]
+ }
+ },
+ "sku": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ServiceSku"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "An Azure SKU instance"
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.DataMigration/services"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services"
+ },
+ "services_projects": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-07-15-preview"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the project"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ProjectProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Project-specific properties"
+ },
+ "resources": {
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/services_projects_tasks_childResource"
+ },
+ {
+ "$ref": "#/definitions/services_projects_files_childResource"
+ }
+ ]
+ }
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.DataMigration/services/projects"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services/projects"
+ },
+ "services_projects_files": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-07-15-preview"
+ ]
+ },
+ "etag": {
+ "type": "string",
+ "description": "HTTP strong entity tag value. This is ignored if submitted."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the File"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ProjectFileProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Base class for file properties."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.DataMigration/services/projects/files"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services/projects/files"
+ },
+ "services_projects_tasks": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-07-15-preview"
+ ]
+ },
+ "etag": {
+ "type": "string",
+ "description": "HTTP strong entity tag value. This is ignored if submitted."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the Task"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ProjectTaskProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.DataMigration/services/projects/tasks"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services/projects/tasks"
+ },
+ "services_serviceTasks": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-07-15-preview"
+ ]
+ },
+ "etag": {
+ "type": "string",
+ "description": "HTTP strong entity tag value. This is ignored if submitted."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the Task"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ProjectTaskProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.DataMigration/services/serviceTasks"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services/serviceTasks"
+ }
+ },
+ "definitions": {
+ "AzureActiveDirectoryApp": {
+ "type": "object",
+ "properties": {
+ "appKey": {
+ "type": "string",
+ "description": "Key used to authenticate to the Azure Active Directory Application"
+ },
+ "applicationId": {
+ "type": "string",
+ "description": "Application ID of the Azure Active Directory Application"
+ },
+ "tenantId": {
+ "type": "string",
+ "description": "Tenant id of the customer"
+ }
+ },
+ "required": [
+ "appKey",
+ "applicationId",
+ "tenantId"
+ ],
+ "description": "Azure Active Directory Application"
+ },
+ "BlobShare": {
+ "type": "object",
+ "properties": {
+ "sasUri": {
+ "type": "string",
+ "description": "SAS URI of Azure Storage Account Container."
+ }
+ },
+ "required": [
+ "sasUri"
+ ],
+ "description": "Blob container storage information."
+ },
+ "CheckOCIDriverTaskInput": {
+ "type": "object",
+ "properties": {
+ "serverVersion": {
+ "type": "string",
+ "description": "Version of the source server to check against. Optional."
+ }
+ },
+ "description": "Input for the service task to check for OCI drivers."
+ },
+ "CheckOCIDriverTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/CheckOCIDriverTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the service task to check for OCI drivers."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Service.Check.OCI"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that checks for OCI drivers."
+ },
+ "ConnectionInfo": {
+ "type": "object",
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MongoDbConnectionInfo"
+ },
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "#/definitions/MySqlConnectionInfo"
+ },
+ {
+ "$ref": "#/definitions/OracleConnectionInfo"
+ },
+ {
+ "$ref": "#/definitions/PostgreSqlConnectionInfo"
+ },
+ {
+ "$ref": "#/definitions/MiSqlConnectionInfo"
+ }
+ ],
+ "properties": {
+ "password": {
+ "type": "string",
+ "description": "Password credential."
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name"
+ }
+ },
+ "description": "Defines the connection properties of a server"
+ },
+ "ConnectToMongoDbTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MongoDbConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a connection to a MongoDB data source"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Connect.MongoDb"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates the connection to and provides information about a MongoDB server"
+ },
+ "ConnectToSourceMySqlTaskInput": {
+ "type": "object",
+ "properties": {
+ "checkPermissionsGroup": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Default",
+ "MigrationFromSqlServerToAzureDB",
+ "MigrationFromSqlServerToAzureMI",
+ "MigrationFromMySQLToAzureDBForMySQL"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Permission group for validations."
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MySqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to MySQL server"
+ },
+ "targetPlatform": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "SqlServer",
+ "AzureDbForMySQL"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Target Platform for the migration."
+ }
+ },
+ "required": [
+ "sourceConnectionInfo"
+ ],
+ "description": "Input for the task that validates MySQL database connection"
+ },
+ "ConnectToSourceMySqlTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToSourceMySqlTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates MySQL database connection"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToSource.MySql"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates MySQL database connection"
+ },
+ "ConnectToSourceOracleSyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/OracleConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to Oracle server"
+ }
+ },
+ "required": [
+ "sourceConnectionInfo"
+ ],
+ "description": "Input for the task that validates Oracle database connection"
+ },
+ "ConnectToSourceOracleSyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToSourceOracleSyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates Oracle database connection"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToSource.Oracle.Sync"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates Oracle database connection"
+ },
+ "ConnectToSourcePostgreSqlSyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PostgreSqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to PostgreSQL server"
+ }
+ },
+ "required": [
+ "sourceConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to PostgreSQL and source server requirements"
+ },
+ "ConnectToSourcePostgreSqlSyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToSourcePostgreSqlSyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to PostgreSQL and source server requirements"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToSource.PostgreSql.Sync"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to PostgreSQL server and source server requirements for online migration"
+ },
+ "ConnectToSourceSqlServerSyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToSourceSqlServerTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to SQL Server and also validates source server requirements"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToSource.SqlServer.Sync"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to SQL Server and source server requirements for online migration"
+ },
+ "ConnectToSourceSqlServerTaskInput": {
+ "type": "object",
+ "properties": {
+ "checkPermissionsGroup": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Default",
+ "MigrationFromSqlServerToAzureDB",
+ "MigrationFromSqlServerToAzureMI",
+ "MigrationFromMySQLToAzureDBForMySQL"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Permission group for validations."
+ },
+ "collectAgentJobs": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": false
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Flag for whether to collect agent jobs from source server."
+ },
+ "collectDatabases": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": true
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Flag for whether to collect databases from source server."
+ },
+ "collectLogins": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": false
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Flag for whether to collect logins from source server."
+ },
+ "collectTdeCertificateInfo": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": false
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Flag for whether to collect TDE Certificate names from source server."
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "validateSsisCatalogOnly": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": false
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Flag for whether to validate SSIS catalog is reachable on the source server."
+ }
+ },
+ "required": [
+ "sourceConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to SQL Server and also validates source server requirements"
+ },
+ "ConnectToSourceSqlServerTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToSourceSqlServerTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to SQL Server and also validates source server requirements"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToSource.SqlServer"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to SQL Server and also validates source server requirements"
+ },
+ "ConnectToTargetAzureDbForMySqlTaskInput": {
+ "type": "object",
+ "properties": {
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MySqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to MySQL server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MySqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to MySQL server"
+ }
+ },
+ "required": [
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to Azure Database for MySQL and target server requirements"
+ },
+ "ConnectToTargetAzureDbForMySqlTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToTargetAzureDbForMySqlTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to Azure Database for MySQL and target server requirements"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToTarget.AzureDbForMySql"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to Azure Database for MySQL and target server requirements"
+ },
+ "ConnectToTargetAzureDbForPostgreSqlSyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PostgreSqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to PostgreSQL server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PostgreSqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to PostgreSQL server"
+ }
+ },
+ "required": [
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to Azure Database for PostgreSQL and target server requirements"
+ },
+ "ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToTargetAzureDbForPostgreSqlSyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to Azure Database for PostgreSQL and target server requirements"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToTarget.AzureDbForPostgreSql.Sync"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to Azure Database For PostgreSQL server and target server requirements for online migration"
+ },
+ "ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PostgreSqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to PostgreSQL server"
+ }
+ },
+ "required": [
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to Azure Database for PostgreSQL and target server requirements for Oracle source."
+ },
+ "ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to Azure Database for PostgreSQL and target server requirements for Oracle source."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to Azure Database For PostgreSQL server and target server requirements for online migration for Oracle source."
+ },
+ "ConnectToTargetSqlDbTaskInput": {
+ "type": "object",
+ "properties": {
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to SQL DB and target server requirements"
+ },
+ "ConnectToTargetSqlDbTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlDbTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to SQL DB and target server requirements"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToTarget.SqlDb"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to SQL DB and target server requirements"
+ },
+ "ConnectToTargetSqlMISyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "azureApp": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/AzureActiveDirectoryApp"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Azure Active Directory Application"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MiSqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Properties required to create a connection to Azure SQL database Managed instance"
+ }
+ },
+ "required": [
+ "azureApp",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to Azure SQL Database Managed Instance online scenario."
+ },
+ "ConnectToTargetSqlMISyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlMISyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to Azure SQL Database Managed Instance online scenario."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToTarget.AzureSqlDbMI.Sync.LRS"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to Azure SQL Database Managed Instance"
+ },
+ "ConnectToTargetSqlMITaskInput": {
+ "type": "object",
+ "properties": {
+ "collectAgentJobs": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": true
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Flag for whether to collect agent jobs from target SQL MI server."
+ },
+ "collectLogins": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": true
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Flag for whether to collect logins from target SQL MI server."
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "validateSsisCatalogOnly": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": false
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Flag for whether to validate SSIS catalog is reachable on the target SQL MI server."
+ }
+ },
+ "required": [
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to Azure SQL Database Managed Instance."
+ },
+ "ConnectToTargetSqlMITaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlMITaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to Azure SQL Database Managed Instance."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToTarget.AzureSqlDbMI"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to Azure SQL Database Managed Instance"
+ },
+ "ConnectToTargetSqlSqlDbSyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that validates connection to Azure SQL DB and target server requirements"
+ },
+ "ConnectToTargetSqlSqlDbSyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlSqlDbSyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that validates connection to Azure SQL DB and target server requirements"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ConnectToTarget.SqlDb.Sync"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates connection to SQL DB and target server requirements for online migration"
+ },
+ "DatabaseInfo": {
+ "type": "object",
+ "properties": {
+ "sourceDatabaseName": {
+ "type": "string",
+ "description": "Name of the database"
+ }
+ },
+ "required": [
+ "sourceDatabaseName"
+ ],
+ "description": "Project Database Details"
+ },
+ "DataMigrationServiceProperties": {
+ "type": "object",
+ "properties": {
+ "publicKey": {
+ "type": "string",
+ "description": "The public key of the service, used to encrypt secrets sent to the service"
+ },
+ "virtualNicId": {
+ "type": "string",
+ "description": "The ID of the Microsoft.Network/networkInterfaces resource which the service have"
+ },
+ "virtualSubnetId": {
+ "type": "string",
+ "description": "The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined"
+ }
+ },
+ "required": [
+ "virtualSubnetId"
+ ],
+ "description": "Properties of the Database Migration Service instance"
+ },
+ "FileShare": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string",
+ "description": "Password credential used to connect to the share location."
+ },
+ "path": {
+ "type": "string",
+ "description": "The folder path for this share."
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name credential to connect to the share location"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "description": "File share information with Path, Username, and Password."
+ },
+ "GetTdeCertificatesSqlTaskInput": {
+ "type": "object",
+ "properties": {
+ "backupFileShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/FileShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "File share information with Path, Username, and Password."
+ },
+ "connectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "selectedCertificates": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectedCertificateInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "List containing certificate names and corresponding password to use for encrypting the exported certificate."
+ }
+ },
+ "required": [
+ "backupFileShare",
+ "connectionInfo",
+ "selectedCertificates"
+ ],
+ "description": "Input for the task that gets TDE certificates in Base64 encoded format."
+ },
+ "GetTdeCertificatesSqlTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/GetTdeCertificatesSqlTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that gets TDE certificates in Base64 encoded format."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "GetTDECertificates.Sql"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that gets TDE certificates in Base64 encoded format."
+ },
+ "GetUserTablesOracleTaskInput": {
+ "type": "object",
+ "properties": {
+ "connectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/OracleConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to Oracle server"
+ },
+ "selectedSchemas": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "List of Oracle schemas for which to collect tables"
+ }
+ },
+ "required": [
+ "connectionInfo",
+ "selectedSchemas"
+ ],
+ "description": "Input for the task that gets the list of tables contained within a provided list of Oracle schemas."
+ },
+ "GetUserTablesOracleTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/GetUserTablesOracleTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that gets the list of tables contained within a provided list of Oracle schemas."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "GetUserTablesOracle"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that collects user tables for the given list of Oracle schemas"
+ },
+ "GetUserTablesPostgreSqlTaskInput": {
+ "type": "object",
+ "properties": {
+ "connectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PostgreSqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to PostgreSQL server"
+ },
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "List of PostgreSQL databases for which to collect tables"
+ }
+ },
+ "required": [
+ "connectionInfo",
+ "selectedDatabases"
+ ],
+ "description": "Input for the task that gets the list of tables for a provided list of PostgreSQL databases."
+ },
+ "GetUserTablesPostgreSqlTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/GetUserTablesPostgreSqlTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that gets the list of tables for a provided list of PostgreSQL databases."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "GetUserTablesPostgreSql"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that collects user tables for the given list of databases"
+ },
+ "GetUserTablesSqlSyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "selectedSourceDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "List of source database names to collect tables for"
+ },
+ "selectedTargetDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "List of target database names to collect tables for"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "selectedSourceDatabases",
+ "selectedTargetDatabases",
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that collects user tables for the given list of databases"
+ },
+ "GetUserTablesSqlSyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/GetUserTablesSqlSyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that collects user tables for the given list of databases"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "GetUserTables.AzureSqlDb.Sync"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that collects user tables for the given list of databases"
+ },
+ "GetUserTablesSqlTaskInput": {
+ "type": "object",
+ "properties": {
+ "connectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "List of database names to collect tables for"
+ }
+ },
+ "required": [
+ "connectionInfo",
+ "selectedDatabases"
+ ],
+ "description": "Input for the task that collects user tables for the given list of databases"
+ },
+ "GetUserTablesSqlTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/GetUserTablesSqlTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that collects user tables for the given list of databases"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "GetUserTables.Sql"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that collects user tables for the given list of databases"
+ },
+ "InstallOCIDriverTaskInput": {
+ "type": "object",
+ "properties": {
+ "driverPackageName": {
+ "type": "string",
+ "description": "Name of the uploaded driver package to install."
+ }
+ },
+ "description": "Input for the service task to install an OCI driver."
+ },
+ "InstallOCIDriverTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/InstallOCIDriverTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the service task to install an OCI driver."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Service.Install.OCI"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that installs an OCI driver."
+ },
+ "MigrateMongoDbTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MongoDbMigrationSettings"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes how a MongoDB data migration should be performed"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Migrate.MongoDb"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that migrates data between MongoDB data sources"
+ },
+ "MigrateMySqlAzureDbForMySqlSyncDatabaseInput": {
+ "type": "object",
+ "properties": {
+ "migrationSetting": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Migration settings which tune the migration behavior"
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the database"
+ },
+ "sourceSetting": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Source settings to tune source endpoint migration behavior"
+ },
+ "tableMap": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Mapping of source to target tables"
+ },
+ "targetDatabaseName": {
+ "type": "string",
+ "description": "Name of target database. Note: Target database will be truncated before starting migration."
+ },
+ "targetSetting": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Target settings to tune target endpoint migration behavior"
+ }
+ },
+ "description": "Database specific information for MySQL to Azure Database for MySQL migration task inputs"
+ },
+ "MigrateMySqlAzureDbForMySqlSyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateMySqlAzureDbForMySqlSyncDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MySqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to MySQL server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MySqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to MySQL server"
+ }
+ },
+ "required": [
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that migrates MySQL databases to Azure Database for MySQL for online migrations"
+ },
+ "MigrateMySqlAzureDbForMySqlSyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrateMySqlAzureDbForMySqlSyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that migrates MySQL databases to Azure Database for MySQL for online migrations"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Migrate.MySql.AzureDbForMySql.Sync"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that migrates MySQL databases to Azure Database for MySQL for online migrations"
+ },
+ "MigrateOracleAzureDbForPostgreSqlSyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrateOracleAzureDbPostgreSqlSyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that migrates Oracle databases to Azure Database for PostgreSQL for online migrations"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Migrate.Oracle.AzureDbForPostgreSql.Sync"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that migrates Oracle to Azure Database for PostgreSQL for online migrations"
+ },
+ "MigrateOracleAzureDbPostgreSqlSyncDatabaseInput": {
+ "type": "object",
+ "properties": {
+ "caseManipulation": {
+ "type": "string",
+ "description": "How to handle object name casing: either Preserve or ToLower"
+ },
+ "migrationSetting": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Migration settings which tune the migration behavior"
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the migration pipeline"
+ },
+ "schemaName": {
+ "type": "string",
+ "description": "Name of the source schema"
+ },
+ "sourceSetting": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Source settings to tune source endpoint migration behavior"
+ },
+ "tableMap": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Mapping of source to target tables"
+ },
+ "targetDatabaseName": {
+ "type": "string",
+ "description": "Name of target database. Note: Target database will be truncated before starting migration."
+ },
+ "targetSetting": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Target settings to tune target endpoint migration behavior"
+ }
+ },
+ "description": "Database specific information for Oracle to Azure Database for PostgreSQL migration task inputs"
+ },
+ "MigrateOracleAzureDbPostgreSqlSyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateOracleAzureDbPostgreSqlSyncDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/OracleConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to Oracle server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PostgreSqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to PostgreSQL server"
+ }
+ },
+ "required": [
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that migrates Oracle databases to Azure Database for PostgreSQL for online migrations"
+ },
+ "MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput": {
+ "type": "object",
+ "properties": {
+ "migrationSetting": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Migration settings which tune the migration behavior"
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the database"
+ },
+ "selectedTables": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Tables selected for migration"
+ },
+ "sourceSetting": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Source settings to tune source endpoint migration behavior"
+ },
+ "targetDatabaseName": {
+ "type": "string",
+ "description": "Name of target database. Note: Target database will be truncated before starting migration."
+ },
+ "targetSetting": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Target settings to tune target endpoint migration behavior"
+ }
+ },
+ "description": "Database specific information for PostgreSQL to Azure Database for PostgreSQL migration task inputs"
+ },
+ "MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the table to migrate"
+ }
+ },
+ "description": "Selected tables for the migration"
+ },
+ "MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PostgreSqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to PostgreSQL server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/PostgreSqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to PostgreSQL server"
+ }
+ },
+ "required": [
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that migrates PostgreSQL databases to Azure Database for PostgreSQL for online migrations"
+ },
+ "MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that migrates PostgreSQL databases to Azure Database for PostgreSQL for online migrations"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that migrates PostgreSQL databases to Azure Database for PostgreSQL for online migrations"
+ },
+ "MigrateSchemaSqlServerSqlDbDatabaseInput": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of source database"
+ },
+ "schemaSetting": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SchemaMigrationSetting"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Settings for migrating schema from source to target"
+ },
+ "targetDatabaseName": {
+ "type": "string",
+ "description": "Name of target database"
+ }
+ },
+ "description": "Database input for migrate schema Sql Server to Azure SQL Server scenario"
+ },
+ "MigrateSchemaSqlServerSqlDbTaskInput": {
+ "type": "object",
+ "properties": {
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateSchemaSqlServerSqlDbDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for task that migrates Schema for SQL Server databases to Azure SQL databases"
+ },
+ "MigrateSchemaSqlServerSqlDbTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrateSchemaSqlServerSqlDbTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for task that migrates Schema for SQL Server databases to Azure SQL databases"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "MigrateSchemaSqlServerSqlDb"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for task that migrates Schema for SQL Server databases to Azure SQL databases"
+ },
+ "MigrateSqlServerSqlDbDatabaseInput": {
+ "type": "object",
+ "properties": {
+ "makeSourceDbReadOnly": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Whether to set database read only before migration"
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the database"
+ },
+ "tableMap": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Mapping of source to target tables"
+ },
+ "targetDatabaseName": {
+ "type": "string",
+ "description": "Name of target database. Note: Target database will be truncated before starting migration."
+ }
+ },
+ "description": "Database specific information for SQL to Azure SQL DB migration task inputs"
+ },
+ "MigrateSqlServerSqlDbSyncDatabaseInput": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Unique identifier for database"
+ },
+ "migrationSetting": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Migration settings which tune the migration behavior"
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of database"
+ },
+ "schemaName": {
+ "type": "string",
+ "description": "Schema name to be migrated"
+ },
+ "sourceSetting": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Source settings to tune source endpoint migration behavior"
+ },
+ "tableMap": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Mapping of source to target tables"
+ },
+ "targetDatabaseName": {
+ "type": "string",
+ "description": "Target database name"
+ },
+ "targetSetting": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Target settings to tune target endpoint migration behavior"
+ }
+ },
+ "description": "Database specific information for SQL to Azure SQL DB sync migration task inputs"
+ },
+ "MigrateSqlServerSqlDbSyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateSqlServerSqlDbSyncDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "validationOptions": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrationValidationOptions"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Types of validations to run after the migration"
+ }
+ },
+ "required": [
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that migrates on-prem SQL Server databases to Azure SQL Database for online migrations"
+ },
+ "MigrateSqlServerSqlDbSyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlDbSyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that migrates on-prem SQL Server databases to Azure SQL Database for online migrations"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Migrate.SqlServer.AzureSqlDb.Sync"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that migrates on-prem SQL Server databases to Azure SQL Database for online migrations"
+ },
+ "MigrateSqlServerSqlDbTaskInput": {
+ "type": "object",
+ "properties": {
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateSqlServerSqlDbDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "validationOptions": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrationValidationOptions"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Types of validations to run after the migration"
+ }
+ },
+ "required": [
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for the task that migrates on-prem SQL Server databases to Azure SQL Database"
+ },
+ "MigrateSqlServerSqlDbTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlDbTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that migrates on-prem SQL Server databases to Azure SQL Database"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Migrate.SqlServer.SqlDb"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that migrates on-prem SQL Server databases to Azure SQL Database"
+ },
+ "MigrateSqlServerSqlMIDatabaseInput": {
+ "type": "object",
+ "properties": {
+ "backupFilePaths": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The list of backup files to be used in case of existing backups."
+ },
+ "backupFileShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/FileShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "File share information with Path, Username, and Password."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the database"
+ },
+ "restoreDatabaseName": {
+ "type": "string",
+ "description": "Name of the database at destination"
+ }
+ },
+ "required": [
+ "name",
+ "restoreDatabaseName"
+ ],
+ "description": "Database specific information for SQL to Azure SQL DB Managed Instance migration task inputs"
+ },
+ "MigrateSqlServerSqlMISyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "azureApp": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/AzureActiveDirectoryApp"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Azure Active Directory Application"
+ },
+ "backupFileShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/FileShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "File share information with Path, Username, and Password."
+ },
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateSqlServerSqlMIDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "storageResourceId": {
+ "type": "string",
+ "description": "Fully qualified resourceId of storage"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MiSqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Properties required to create a connection to Azure SQL database Managed instance"
+ }
+ },
+ "required": [
+ "azureApp",
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "storageResourceId",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance online scenario."
+ },
+ "MigrateSqlServerSqlMISyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlMISyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance online scenario."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Migrate.SqlServer.AzureSqlDbMI.Sync.LRS"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for task that migrates SQL Server databases to Azure SQL Database Managed Instance sync scenario"
+ },
+ "MigrateSqlServerSqlMITaskInput": {
+ "type": "object",
+ "properties": {
+ "aadDomainName": {
+ "type": "string",
+ "description": "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"
+ },
+ "backupBlobShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/BlobShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Blob container storage information."
+ },
+ "backupFileShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/FileShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "File share information with Path, Username, and Password."
+ },
+ "backupMode": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "CreateBackup",
+ "ExistingBackup"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Backup Mode to specify whether to use existing backup or create new backup. If using existing backups, backup file paths are required to be provided in selectedDatabases."
+ },
+ "selectedAgentJobs": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Agent Jobs to migrate."
+ },
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateSqlServerSqlMIDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "selectedLogins": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Logins to migrate."
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "backupBlobShare",
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance."
+ },
+ "MigrateSqlServerSqlMITaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlMITaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Migrate.SqlServer.AzureSqlDbMI"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for task that migrates SQL Server databases to Azure SQL Database Managed Instance"
+ },
+ "MigrateSsisTaskInput": {
+ "type": "object",
+ "properties": {
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "ssisMigrationInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SsisMigrationInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "SSIS migration info with SSIS store type, overwrite policy."
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "sourceConnectionInfo",
+ "ssisMigrationInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for task that migrates SSIS packages from SQL Server to Azure SQL Database Managed Instance."
+ },
+ "MigrateSsisTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrateSsisTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for task that migrates SSIS packages from SQL Server to Azure SQL Database Managed Instance."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Migrate.Ssis"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for task that migrates SSIS packages from SQL Server databases to Azure SQL Database Managed Instance."
+ },
+ "MigrationValidationOptions": {
+ "type": "object",
+ "properties": {
+ "enableDataIntegrityValidation": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Allows to perform a checksum based data integrity validation between source and target for the selected database / tables ."
+ },
+ "enableQueryAnalysisValidation": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Allows to perform a quick and intelligent query analysis by retrieving queries from the source database and executes them in the target. The result will have execution statistics for executions in source and target databases for the extracted queries."
+ },
+ "enableSchemaValidation": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Allows to compare the schema information between source and target."
+ }
+ },
+ "description": "Types of validations to run after the migration"
+ },
+ "MiSqlConnectionInfo": {
+ "type": "object",
+ "properties": {
+ "managedInstanceResourceId": {
+ "type": "string",
+ "description": "Resource id for Azure SQL database Managed instance"
+ },
+ "password": {
+ "type": "string",
+ "description": "Password credential."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "MiSqlConnectionInfo"
+ ]
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name"
+ }
+ },
+ "required": [
+ "managedInstanceResourceId",
+ "type"
+ ],
+ "description": "Properties required to create a connection to Azure SQL database Managed instance"
+ },
+ "MongoDbCollectionSettings": {
+ "type": "object",
+ "properties": {
+ "canDelete": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Whether the migrator is allowed to drop the target collection in the course of performing a migration. The default is true."
+ },
+ "shardKey": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MongoDbShardKeySetting"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a MongoDB shard key"
+ },
+ "targetRUs": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The RUs that should be configured on a CosmosDB target, or null to use the default. This has no effect on non-CosmosDB targets."
+ }
+ },
+ "description": "Describes how an individual MongoDB collection should be migrated"
+ },
+ "MongoDbConnectionInfo": {
+ "type": "object",
+ "properties": {
+ "connectionString": {
+ "type": "string",
+ "description": "A MongoDB connection string or blob container URL. The user name and password can be specified here or in the userName and password properties"
+ },
+ "password": {
+ "type": "string",
+ "description": "Password credential."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "MongoDbConnectionInfo"
+ ]
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name"
+ }
+ },
+ "required": [
+ "connectionString",
+ "type"
+ ],
+ "description": "Describes a connection to a MongoDB data source"
+ },
+ "MongoDbDatabaseSettings": {
+ "type": "object",
+ "properties": {
+ "collections": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/MongoDbCollectionSettings"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The collections on the source database to migrate to the target. The keys are the unqualified names of the collections."
+ },
+ "targetRUs": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The RUs that should be configured on a CosmosDB target, or null to use the default, or 0 if throughput should not be provisioned for the database. This has no effect on non-CosmosDB targets."
+ }
+ },
+ "required": [
+ "collections"
+ ],
+ "description": "Describes how an individual MongoDB database should be migrated"
+ },
+ "MongoDbMigrationSettings": {
+ "type": "object",
+ "properties": {
+ "boostRUs": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The RU limit on a CosmosDB target that collections will be temporarily increased to (if lower) during the initial copy of a migration, from 10,000 to 1,000,000, or 0 to use the default boost (which is generally the maximum), or null to not boost the RUs. This setting has no effect on non-CosmosDB targets."
+ },
+ "databases": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/MongoDbDatabaseSettings"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The databases on the source cluster to migrate to the target. The keys are the names of the databases."
+ },
+ "replication": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Disabled",
+ "OneTime",
+ "Continuous"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes how changes will be replicated from the source to the target. The default is OneTime."
+ },
+ "source": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MongoDbConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a connection to a MongoDB data source"
+ },
+ "target": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MongoDbConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes a connection to a MongoDB data source"
+ },
+ "throttling": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MongoDbThrottlingSettings"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies resource limits for the migration"
+ }
+ },
+ "required": [
+ "databases",
+ "source",
+ "target"
+ ],
+ "description": "Describes how a MongoDB data migration should be performed"
+ },
+ "MongoDbShardKeyField": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the field"
+ },
+ "order": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Forward",
+ "Reverse",
+ "Hashed"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The field ordering."
+ }
+ },
+ "required": [
+ "name",
+ "order"
+ ],
+ "description": "Describes a field reference within a MongoDB shard key"
+ },
+ "MongoDbShardKeySetting": {
+ "type": "object",
+ "properties": {
+ "fields": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MongoDbShardKeyField"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The fields within the shard key"
+ },
+ "isUnique": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Whether the shard key is unique"
+ }
+ },
+ "required": [
+ "fields",
+ "isUnique"
+ ],
+ "description": "Describes a MongoDB shard key"
+ },
+ "MongoDbThrottlingSettings": {
+ "type": "object",
+ "properties": {
+ "maxParallelism": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The maximum number of work items (e.g. collection copies) that will be processed in parallel"
+ },
+ "minFreeCpu": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The percentage of CPU time that the migrator will try to avoid using, from 0 to 100"
+ },
+ "minFreeMemoryMb": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The number of megabytes of RAM that the migrator will try to avoid using"
+ }
+ },
+ "description": "Specifies resource limits for the migration"
+ },
+ "MySqlConnectionInfo": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string",
+ "description": "Password credential."
+ },
+ "port": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Port for Server"
+ },
+ "serverName": {
+ "type": "string",
+ "description": "Name of the server"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "MySqlConnectionInfo"
+ ]
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name"
+ }
+ },
+ "required": [
+ "port",
+ "serverName",
+ "type"
+ ],
+ "description": "Information for connecting to MySQL server"
+ },
+ "OracleConnectionInfo": {
+ "type": "object",
+ "properties": {
+ "dataSource": {
+ "type": "string",
+ "description": "EZConnect or TNSName connection string."
+ },
+ "password": {
+ "type": "string",
+ "description": "Password credential."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "OracleConnectionInfo"
+ ]
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name"
+ }
+ },
+ "required": [
+ "dataSource",
+ "type"
+ ],
+ "description": "Information for connecting to Oracle server"
+ },
+ "PostgreSqlConnectionInfo": {
+ "type": "object",
+ "properties": {
+ "databaseName": {
+ "type": "string",
+ "description": "Name of the database"
+ },
+ "encryptConnection": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": true
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Whether to encrypt the connection"
+ },
+ "password": {
+ "type": "string",
+ "description": "Password credential."
+ },
+ "port": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Port for Server"
+ },
+ "serverName": {
+ "type": "string",
+ "description": "Name of the server"
+ },
+ "trustServerCertificate": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": false
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Whether to trust the server certificate"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "PostgreSqlConnectionInfo"
+ ]
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name"
+ }
+ },
+ "required": [
+ "port",
+ "serverName",
+ "type"
+ ],
+ "description": "Information for connecting to PostgreSQL server"
+ },
+ "ProjectFileProperties": {
+ "type": "object",
+ "properties": {
+ "extension": {
+ "type": "string",
+ "description": "Optional File extension. If submitted it should not have a leading period and must match the extension from filePath."
+ },
+ "filePath": {
+ "type": "string",
+ "description": "Relative path of this file resource. This property can be set when creating or updating the file resource."
+ },
+ "mediaType": {
+ "type": "string",
+ "description": "File content type. This property can be modified to reflect the file content type."
+ }
+ },
+ "description": "Base class for file properties."
+ },
+ "ProjectProperties": {
+ "type": "object",
+ "properties": {
+ "databasesInfo": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DatabaseInfo"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "List of DatabaseInfo"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Defines the connection properties of a server"
+ },
+ "sourcePlatform": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "SQL",
+ "MySQL",
+ "PostgreSql",
+ "MongoDb",
+ "Unknown"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Source platform for the project."
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Defines the connection properties of a server"
+ },
+ "targetPlatform": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "SQLDB",
+ "SQLMI",
+ "AzureDbForMySql",
+ "AzureDbForPostgreSql",
+ "MongoDb",
+ "Unknown"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Target platform for the project."
+ }
+ },
+ "required": [
+ "sourcePlatform",
+ "targetPlatform"
+ ],
+ "description": "Project-specific properties"
+ },
+ "ProjectTaskProperties": {
+ "type": "object",
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ConnectToSourceMySqlTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/MigrateSchemaSqlServerSqlDbTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/CheckOCIDriverTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/UploadOCIDriverTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/InstallOCIDriverTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToMongoDbTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToSourceSqlServerTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToSourceSqlServerSyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToSourcePostgreSqlSyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToSourceOracleSyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlDbTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlSqlDbSyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/GetUserTablesSqlTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/GetUserTablesSqlSyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/GetUserTablesOracleTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/GetUserTablesPostgreSqlTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlMITaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToTargetSqlMISyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ConnectToTargetAzureDbForMySqlTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/MigrateMongoDbTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlMITaskProperties"
+ },
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlMISyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlDbTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/MigrateSqlServerSqlDbSyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/MigrateMySqlAzureDbForMySqlSyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/MigrateOracleAzureDbForPostgreSqlSyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ValidateMigrationInputSqlServerSqlDbSyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ValidateMigrationInputSqlServerSqlMITaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ValidateMigrationInputSqlServerSqlMISyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ValidateMongoDbTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/ValidateOracleAzureDbForPostgreSqlSyncTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/GetTdeCertificatesSqlTaskProperties"
+ },
+ {
+ "$ref": "#/definitions/MigrateSsisTaskProperties"
+ }
+ ],
+ "properties": {
+ "clientData": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Key value pairs of client data to attach meta data information to task"
+ }
+ },
+ "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned."
+ },
+ "SchemaMigrationSetting": {
+ "type": "object",
+ "properties": {
+ "fileId": {
+ "type": "string",
+ "description": "Resource Identifier of a file resource containing the uploaded schema file"
+ },
+ "schemaOption": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "None",
+ "ExtractFromSource",
+ "UseStorageFile"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Option on how to migrate the schema."
+ }
+ },
+ "description": "Settings for migrating schema from source to target"
+ },
+ "SelectedCertificateInput": {
+ "type": "object",
+ "properties": {
+ "certificateName": {
+ "type": "string",
+ "description": "Name of certificate to be exported."
+ },
+ "password": {
+ "type": "string",
+ "description": "Password to use for encrypting the exported certificate."
+ }
+ },
+ "required": [
+ "certificateName",
+ "password"
+ ],
+ "description": "Info for certificate to be exported for TDE enabled databases."
+ },
+ "ServiceSku": {
+ "type": "object",
+ "properties": {
+ "capacity": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The capacity of the SKU, if it supports scaling"
+ },
+ "family": {
+ "type": "string",
+ "description": "The SKU family, used when the service has multiple performance classes within a tier, such as 'A', 'D', etc. for virtual machines"
+ },
+ "name": {
+ "type": "string",
+ "description": "The unique name of the SKU, such as 'P3'"
+ },
+ "size": {
+ "type": "string",
+ "description": "The size of the SKU, used when the name alone does not denote a service size or when a SKU has multiple performance classes within a family, e.g. 'A1' for virtual machines"
+ },
+ "tier": {
+ "type": "string",
+ "description": "The tier of the SKU, such as 'Basic', 'General Purpose', or 'Business Critical'"
+ }
+ },
+ "description": "An Azure SKU instance"
+ },
+ "services_projects_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-07-15-preview"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the project"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ProjectProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Project-specific properties"
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "projects"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services/projects"
+ },
+ "services_projects_files_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-07-15-preview"
+ ]
+ },
+ "etag": {
+ "type": "string",
+ "description": "HTTP strong entity tag value. This is ignored if submitted."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the File"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ProjectFileProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Base class for file properties."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "files"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services/projects/files"
+ },
+ "services_projects_tasks_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-07-15-preview"
+ ]
+ },
+ "etag": {
+ "type": "string",
+ "description": "HTTP strong entity tag value. This is ignored if submitted."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the Task"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ProjectTaskProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "tasks"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services/projects/tasks"
+ },
+ "services_serviceTasks_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2018-07-15-preview"
+ ]
+ },
+ "etag": {
+ "type": "string",
+ "description": "HTTP strong entity tag value. This is ignored if submitted."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the Task"
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ProjectTaskProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "serviceTasks"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.DataMigration/services/serviceTasks"
+ },
+ "SqlConnectionInfo": {
+ "type": "object",
+ "properties": {
+ "additionalSettings": {
+ "type": "string",
+ "description": "Additional connection settings"
+ },
+ "authentication": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "None",
+ "WindowsAuthentication",
+ "SqlAuthentication",
+ "ActiveDirectoryIntegrated",
+ "ActiveDirectoryPassword"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Authentication type to use for connection."
+ },
+ "dataSource": {
+ "type": "string",
+ "description": "Data source in the format Protocol:MachineName\\SQLServerInstanceName,PortNumber"
+ },
+ "encryptConnection": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": true
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Whether to encrypt the connection"
+ },
+ "password": {
+ "type": "string",
+ "description": "Password credential."
+ },
+ "platform": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "SqlOnPrem"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Server platform type for connection."
+ },
+ "trustServerCertificate": {
+ "oneOf": [
+ {
+ "type": "boolean",
+ "default": false
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Whether to trust the server certificate"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "SqlConnectionInfo"
+ ]
+ },
+ "userName": {
+ "type": "string",
+ "description": "User name"
+ }
+ },
+ "required": [
+ "dataSource",
+ "type"
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "SsisMigrationInfo": {
+ "type": "object",
+ "properties": {
+ "environmentOverwriteOption": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Ignore",
+ "Overwrite"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The overwrite option for the SSIS environment migration."
+ },
+ "projectOverwriteOption": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Ignore",
+ "Overwrite"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The overwrite option for the SSIS project migration."
+ },
+ "ssisStoreType": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "SsisCatalog"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The SSIS store type of source, only SSIS catalog is supported now in DMS."
+ }
+ },
+ "description": "SSIS migration info with SSIS store type, overwrite policy."
+ },
+ "UploadOCIDriverTaskInput": {
+ "type": "object",
+ "properties": {
+ "driverShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/FileShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "File share information with Path, Username, and Password."
+ }
+ },
+ "description": "Input for the service task to upload an OCI driver."
+ },
+ "UploadOCIDriverTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/UploadOCIDriverTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the service task to upload an OCI driver."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Service.Upload.OCI"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that uploads an OCI driver."
+ },
+ "ValidateMigrationInputSqlServerSqlDbSyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ValidateSyncMigrationInputSqlServerTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for task that validates migration input for SQL sync migrations"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ValidateMigrationInput.SqlServer.SqlDb.Sync"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for task that validates migration input for SQL to Azure SQL DB sync migrations"
+ },
+ "ValidateMigrationInputSqlServerSqlMISyncTaskInput": {
+ "type": "object",
+ "properties": {
+ "azureApp": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/AzureActiveDirectoryApp"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Azure Active Directory Application"
+ },
+ "backupFileShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/FileShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "File share information with Path, Username, and Password."
+ },
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateSqlServerSqlMIDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "storageResourceId": {
+ "type": "string",
+ "description": "Fully qualified resourceId of storage"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MiSqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Properties required to create a connection to Azure SQL database Managed instance"
+ }
+ },
+ "required": [
+ "azureApp",
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "storageResourceId",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance online scenario."
+ },
+ "ValidateMigrationInputSqlServerSqlMISyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ValidateMigrationInputSqlServerSqlMISyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance online scenario."
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for task that validates migration input for SQL to Azure SQL Database Managed Instance sync scenario"
+ },
+ "ValidateMigrationInputSqlServerSqlMITaskInput": {
+ "type": "object",
+ "properties": {
+ "backupBlobShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/BlobShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Blob container storage information."
+ },
+ "backupFileShare": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/FileShare"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "File share information with Path, Username, and Password."
+ },
+ "backupMode": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "CreateBackup",
+ "ExistingBackup"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Backup Mode to specify whether to use existing backup or create new backup."
+ },
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateSqlServerSqlMIDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "selectedLogins": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Logins to migrate"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "backupBlobShare",
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for task that validates migration input for SQL to Azure SQL Managed Instance"
+ },
+ "ValidateMigrationInputSqlServerSqlMITaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ValidateMigrationInputSqlServerSqlMITaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for task that validates migration input for SQL to Azure SQL Managed Instance"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "ValidateMigrationInput.SqlServer.AzureSqlDbMI"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for task that validates migration input for SQL to Azure SQL Database Managed Instance"
+ },
+ "ValidateMongoDbTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MongoDbMigrationSettings"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes how a MongoDB data migration should be performed"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Validate.MongoDb"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates a migration between MongoDB data sources"
+ },
+ "ValidateOracleAzureDbForPostgreSqlSyncTaskProperties": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MigrateOracleAzureDbPostgreSqlSyncTaskInput"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Input for the task that migrates Oracle databases to Azure Database for PostgreSQL for online migrations"
+ },
+ "taskType": {
+ "type": "string",
+ "enum": [
+ "Validate.Oracle.AzureDbPostgreSql.Sync"
+ ]
+ }
+ },
+ "required": [
+ "taskType"
+ ],
+ "description": "Properties for the task that validates a migration for Oracle to Azure Database for PostgreSQL for online migrations"
+ },
+ "ValidateSyncMigrationInputSqlServerTaskInput": {
+ "type": "object",
+ "properties": {
+ "selectedDatabases": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateSqlServerSqlDbSyncDatabaseInput"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Databases to migrate"
+ },
+ "sourceConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ },
+ "targetConnectionInfo": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SqlConnectionInfo"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Information for connecting to SQL database server"
+ }
+ },
+ "required": [
+ "selectedDatabases",
+ "sourceConnectionInfo",
+ "targetConnectionInfo"
+ ],
+ "description": "Input for task that validates migration input for SQL sync migrations"
+ }
+ }
+}
\ No newline at end of file
diff --git a/schemas/2019-03-01/microsoft.alertsManagement.json b/schemas/2019-03-01/microsoft.alertsManagement.json
new file mode 100644
index 0000000000..b886a407c8
--- /dev/null
+++ b/schemas/2019-03-01/microsoft.alertsManagement.json
@@ -0,0 +1,259 @@
+{
+ "id": "https://schema.management.azure.com/schemas/2019-03-01/microsoft.alertsManagement.json#",
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "microsoft.alertsManagement",
+ "description": "microsoft alertsManagement Resource Types",
+ "resourceDefinitions": {
+ "smartDetectorAlertRules": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2019-03-01"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the alert rule."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/AlertRuleProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The alert rule properties."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "microsoft.alertsManagement/smartDetectorAlertRules"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "microsoft.alertsManagement/smartDetectorAlertRules"
+ }
+ },
+ "definitions": {
+ "ActionGroupsInformation": {
+ "type": "object",
+ "properties": {
+ "customEmailSubject": {
+ "type": "string",
+ "description": "An optional custom email subject to use in email notifications."
+ },
+ "customWebhookPayload": {
+ "type": "string",
+ "description": "An optional custom web-hook payload to use in web-hook notifications."
+ },
+ "groupIds": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The Action Group resource IDs."
+ }
+ },
+ "required": [
+ "groupIds"
+ ],
+ "description": "The Action Groups information, used by the alert rule."
+ },
+ "AlertRuleProperties": {
+ "type": "object",
+ "properties": {
+ "actionGroups": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ActionGroupsInformation"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The Action Groups information, used by the alert rule."
+ },
+ "description": {
+ "type": "string",
+ "description": "The alert rule description."
+ },
+ "detector": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/Detector"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The detector information. By default this is not populated, unless it's specified in expandDetector"
+ },
+ "frequency": {
+ "type": "string",
+ "format": "duration",
+ "description": "The alert rule frequency in ISO8601 format. The time granularity must be in minutes and minimum value is 5 minutes."
+ },
+ "scope": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The alert rule resources scope."
+ },
+ "severity": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Sev0",
+ "Sev1",
+ "Sev2",
+ "Sev3",
+ "Sev4"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The alert rule severity."
+ },
+ "state": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The alert rule state."
+ },
+ "throttling": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ThrottlingInformation"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Optional throttling information for the alert rule."
+ }
+ },
+ "required": [
+ "actionGroups",
+ "detector",
+ "frequency",
+ "scope",
+ "severity",
+ "state"
+ ],
+ "description": "The alert rule properties."
+ },
+ "Detector": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "The Smart Detector description. By default this is not populated, unless it's specified in expandDetector"
+ },
+ "id": {
+ "type": "string",
+ "description": "The detector id."
+ },
+ "imagePaths": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The Smart Detector image path. By default this is not populated, unless it's specified in expandDetector"
+ },
+ "name": {
+ "type": "string",
+ "description": "The Smart Detector name. By default this is not populated, unless it's specified in expandDetector"
+ },
+ "parameters": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {}
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The detector's parameters.'"
+ },
+ "supportedResourceTypes": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The Smart Detector supported resource types. By default this is not populated, unless it's specified in expandDetector"
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "description": "The detector information. By default this is not populated, unless it's specified in expandDetector"
+ },
+ "ThrottlingInformation": {
+ "type": "object",
+ "properties": {
+ "duration": {
+ "type": "string",
+ "format": "duration",
+ "description": "The required duration (in ISO8601 format) to wait before notifying on the alert rule again. The time granularity must be in minutes and minimum value is 0 minutes"
+ }
+ },
+ "description": "Optional throttling information for the alert rule."
+ }
+ }
+}
diff --git a/schemas/2019-04-01/deploymentTemplate.json b/schemas/2019-04-01/deploymentTemplate.json
index 3e7359c0a8..5bd136a795 100644
--- a/schemas/2019-04-01/deploymentTemplate.json
+++ b/schemas/2019-04-01/deploymentTemplate.json
@@ -150,6 +150,13 @@
{ "$ref": "https://schema.management.azure.com/schemas/2020-06-14/Microsoft.Kusto.json#/resourceDefinitions/clusters_dataconnections" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-06-14/Microsoft.Kusto.json#/resourceDefinitions/clusters_principalassignments" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-06-14/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_principalassignments" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_dataconnections" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_attacheddatabaseconfigurations" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_dataconnections" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_principalassignments" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_principalassignments" },
{ "$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/resourceDefinitions/alertrules" },
{ "$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/resourceDefinitions/components" },
{ "$ref": "https://schema.management.azure.com/schemas/2019-11-01-preview/Microsoft.Insights.json#/resourceDefinitions/dataCollectionRules" },
@@ -1456,7 +1463,9 @@
{ "$ref": "https://schema.management.azure.com/schemas/2017-04-19/Microsoft.Advisor.json#/resourceDefinitions/recommendations_suppressions" },
{ "$ref": "https://schema.management.azure.com/schemas/2017-04-19/Microsoft.Advisor.json#/resourceDefinitions/configurations" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-01-01/Microsoft.Advisor.json#/resourceDefinitions/recommendations_suppressions" },
- { "$ref": "https://schema.management.azure.com/schemas/2020-01-01/Microsoft.Advisor.json#/resourceDefinitions/configurations" }
+ { "$ref": "https://schema.management.azure.com/schemas/2020-01-01/Microsoft.Advisor.json#/resourceDefinitions/configurations" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-10-01-preview/Microsoft.Compute.json#/resourceDefinitions/cloudServices" },
+ { "$ref": "https://schema.management.azure.com/schemas/2020-10-01-preview/Microsoft.Compute.json#/resourceDefinitions/cloudServices_updateDomains" }
]
}
]
diff --git a/schemas/2019-05-01-preview/Microsoft.AppPlatform.json b/schemas/2019-05-01-preview/Microsoft.AppPlatform.json
index 7d55877ade..a736963e1a 100644
--- a/schemas/2019-05-01-preview/Microsoft.AppPlatform.json
+++ b/schemas/2019-05-01-preview/Microsoft.AppPlatform.json
@@ -219,6 +219,17 @@
],
"description": "Deployment resource properties payload"
},
+ "sku": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/Sku"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Sku of Azure Spring Cloud"
+ },
"type": {
"type": "string",
"enum": [
@@ -1021,6 +1032,17 @@
],
"description": "Deployment resource properties payload"
},
+ "sku": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/Sku"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Sku of Azure Spring Cloud"
+ },
"type": {
"type": "string",
"enum": [
diff --git a/schemas/2019-05-05-preview/Microsoft.AlertsManagement.json b/schemas/2019-05-05-preview/Microsoft.AlertsManagement.json
index 662a8d73fb..a588674814 100644
--- a/schemas/2019-05-05-preview/Microsoft.AlertsManagement.json
+++ b/schemas/2019-05-05-preview/Microsoft.AlertsManagement.json
@@ -416,4 +416,4 @@
"description": "Schedule for a given suppression configuration."
}
}
-}
\ No newline at end of file
+}
diff --git a/schemas/2019-06-01-preview/Microsoft.Sql.json b/schemas/2019-06-01-preview/Microsoft.Sql.json
index b0429f3708..16f0b0e789 100644
--- a/schemas/2019-06-01-preview/Microsoft.Sql.json
+++ b/schemas/2019-06-01-preview/Microsoft.Sql.json
@@ -786,7 +786,9 @@
{
"type": "string",
"enum": [
- "SystemAssigned"
+ "None",
+ "SystemAssigned",
+ "UserAssigned"
]
},
{
diff --git a/schemas/2019-06-01/microsoft.alertsManagement.json b/schemas/2019-06-01/microsoft.alertsManagement.json
new file mode 100644
index 0000000000..a96059ccf1
--- /dev/null
+++ b/schemas/2019-06-01/microsoft.alertsManagement.json
@@ -0,0 +1,269 @@
+{
+ "id": "https://schema.management.azure.com/schemas/2019-06-01/microsoft.alertsManagement.json#",
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "microsoft.alertsManagement",
+ "description": "microsoft alertsManagement Resource Types",
+ "resourceDefinitions": {
+ "smartDetectorAlertRules": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2019-06-01"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "default": "global",
+ "description": "The resource location."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the alert rule."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/AlertRuleProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The alert rule properties."
+ },
+ "tags": {
+ "type": "object",
+ "properties": {},
+ "description": "The resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "microsoft.alertsManagement/smartDetectorAlertRules"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "microsoft.alertsManagement/smartDetectorAlertRules"
+ }
+ },
+ "definitions": {
+ "ActionGroupsInformation": {
+ "type": "object",
+ "properties": {
+ "customEmailSubject": {
+ "type": "string",
+ "description": "An optional custom email subject to use in email notifications."
+ },
+ "customWebhookPayload": {
+ "type": "string",
+ "description": "An optional custom web-hook payload to use in web-hook notifications."
+ },
+ "groupIds": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The Action Group resource IDs."
+ }
+ },
+ "required": [
+ "groupIds"
+ ],
+ "description": "The Action Groups information, used by the alert rule."
+ },
+ "AlertRuleProperties": {
+ "type": "object",
+ "properties": {
+ "actionGroups": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ActionGroupsInformation"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The Action Groups information, used by the alert rule."
+ },
+ "description": {
+ "type": "string",
+ "description": "The alert rule description."
+ },
+ "detector": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/Detector"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The detector information. By default this is not populated, unless it's specified in expandDetector"
+ },
+ "frequency": {
+ "type": "string",
+ "format": "duration",
+ "description": "The alert rule frequency in ISO8601 format. The time granularity must be in minutes and minimum value is 5 minutes."
+ },
+ "scope": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The alert rule resources scope."
+ },
+ "severity": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Sev0",
+ "Sev1",
+ "Sev2",
+ "Sev3",
+ "Sev4"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The alert rule severity."
+ },
+ "state": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The alert rule state."
+ },
+ "throttling": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ThrottlingInformation"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Optional throttling information for the alert rule."
+ }
+ },
+ "required": [
+ "actionGroups",
+ "detector",
+ "frequency",
+ "scope",
+ "severity",
+ "state"
+ ],
+ "description": "The alert rule properties."
+ },
+ "Detector": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "The Smart Detector description. By default this is not populated, unless it's specified in expandDetector"
+ },
+ "id": {
+ "type": "string",
+ "description": "The detector id."
+ },
+ "imagePaths": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The Smart Detector image path. By default this is not populated, unless it's specified in expandDetector"
+ },
+ "name": {
+ "type": "string",
+ "description": "The Smart Detector name. By default this is not populated, unless it's specified in expandDetector"
+ },
+ "parameters": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {}
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The detector's parameters.'"
+ },
+ "supportedResourceTypes": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The Smart Detector supported resource types. By default this is not populated, unless it's specified in expandDetector"
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "description": "The detector information. By default this is not populated, unless it's specified in expandDetector"
+ },
+ "ThrottlingInformation": {
+ "type": "object",
+ "properties": {
+ "duration": {
+ "type": "string",
+ "format": "duration",
+ "description": "The required duration (in ISO8601 format) to wait before notifying on the alert rule again. The time granularity must be in minutes and minimum value is 0 minutes"
+ }
+ },
+ "description": "Optional throttling information for the alert rule."
+ }
+ }
+}
diff --git a/schemas/2019-10-01-preview/Microsoft.Migrate.json b/schemas/2019-10-01-preview/Microsoft.Migrate.json
new file mode 100644
index 0000000000..4a1e94fd5e
--- /dev/null
+++ b/schemas/2019-10-01-preview/Microsoft.Migrate.json
@@ -0,0 +1,939 @@
+{
+ "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#",
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Microsoft.Migrate",
+ "description": "Microsoft Migrate Resource Types",
+ "resourceDefinitions": {
+ "moveCollections": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2019-10-01-preview"
+ ]
+ },
+ "identity": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/Identity"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Defines the MSI properties of the Move Collection."
+ },
+ "location": {
+ "type": "string",
+ "description": "The geo-location where the resource lives."
+ },
+ "name": {
+ "type": "string",
+ "description": "The Move Collection Name."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MoveCollectionProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Defines the move collection properties."
+ },
+ "resources": {
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/moveCollections_moveResources_childResource"
+ }
+ ]
+ }
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Migrate/moveCollections"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.Migrate/moveCollections"
+ },
+ "moveCollections_moveResources": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2019-10-01-preview"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "description": "The Move Resource Name."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MoveResourceProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Defines the move resource properties."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Migrate/moveCollections/moveResources"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.Migrate/moveCollections/moveResources"
+ }
+ },
+ "definitions": {
+ "AvailabilitySetResourceSettings": {
+ "type": "object",
+ "properties": {
+ "faultDomain": {
+ "oneOf": [
+ {
+ "type": "integer",
+ "minimum": 1
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Gets or sets the target fault domain."
+ },
+ "resourceType": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Compute/availabilitySets"
+ ]
+ },
+ "updateDomain": {
+ "oneOf": [
+ {
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 20
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Gets or sets the target update domain."
+ }
+ },
+ "required": [
+ "resourceType"
+ ],
+ "description": "Gets or sets the availability set resource settings."
+ },
+ "Identity": {
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "type": "string",
+ "description": "Gets or sets the principal id."
+ },
+ "tenantId": {
+ "type": "string",
+ "description": "Gets or sets the tenant id."
+ },
+ "type": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "None",
+ "SystemAssigned",
+ "UserAssigned"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ }
+ },
+ "description": "Defines the MSI properties of the Move Collection."
+ },
+ "LBBackendAddressPoolResourceSettings": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Gets or sets the backend address pool name."
+ }
+ },
+ "description": "Defines load balancer backend address pool properties."
+ },
+ "LBFrontendIPConfigurationResourceSettings": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Gets or sets the frontend IP configuration name."
+ },
+ "privateIpAddress": {
+ "type": "string",
+ "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific\r\nprivate IP address shall be allocated from the subnet specified in subnetRef."
+ },
+ "privateIpAllocationMethod": {
+ "type": "string",
+ "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)."
+ },
+ "subnet": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubnetReference"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Defines reference to subnet."
+ },
+ "zones": {
+ "type": "string",
+ "description": "Gets or sets the csv list of zones."
+ }
+ },
+ "description": "Defines load balancer frontend IP configuration properties."
+ },
+ "LoadBalancerBackendAddressPoolReference": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Gets the name of the proxy resource on the target side."
+ },
+ "sourceArmResourceId": {
+ "type": "string",
+ "description": "Gets the ARM resource ID of the tracked resource being referenced."
+ }
+ },
+ "required": [
+ "sourceArmResourceId"
+ ],
+ "description": "Defines reference to load balancer backend address pools."
+ },
+ "LoadBalancerResourceSettings": {
+ "type": "object",
+ "properties": {
+ "backendAddressPools": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LBBackendAddressPoolResourceSettings"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Gets or sets the backend address pools of the load balancer."
+ },
+ "frontendIPConfigurations": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LBFrontendIPConfigurationResourceSettings"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Gets or sets the frontend IP configurations of the load balancer."
+ },
+ "resourceType": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Network/loadBalancers"
+ ]
+ },
+ "sku": {
+ "type": "string",
+ "description": "Gets or sets load balancer sku (Basic/Standard)."
+ },
+ "zones": {
+ "type": "string",
+ "description": "Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given\r\n precedence only if frontend IP configurations settings are not present."
+ }
+ },
+ "required": [
+ "resourceType"
+ ],
+ "description": "Defines the load balancer resource settings."
+ },
+ "MoveCollectionProperties": {
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Succeeded",
+ "Updating",
+ "Creating",
+ "Failed"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ },
+ "sourceRegion": {
+ "type": "string",
+ "description": "Gets or sets the source region."
+ },
+ "targetRegion": {
+ "type": "string",
+ "description": "Gets or sets the target region."
+ }
+ },
+ "required": [
+ "sourceRegion",
+ "targetRegion"
+ ],
+ "description": "Defines the move collection properties."
+ },
+ "moveCollections_moveResources_childResource": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2019-10-01-preview"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "description": "The Move Resource Name."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/MoveResourceProperties"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Defines the move resource properties."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "moveResources"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.Migrate/moveCollections/moveResources"
+ },
+ "MoveResourceDependencyOverride": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Gets or sets the ARM ID of the dependent resource."
+ },
+ "targetId": {
+ "type": "string",
+ "description": "Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of\r\nthe dependent resource."
+ }
+ },
+ "description": "Defines the dependency override of the move resource."
+ },
+ "MoveResourceProperties": {
+ "type": "object",
+ "properties": {
+ "dependsOnOverrides": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MoveResourceDependencyOverride"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Gets or sets the move resource dependencies overrides."
+ },
+ "existingTargetId": {
+ "type": "string",
+ "description": "Gets or sets the existing target ARM Id of the resource."
+ },
+ "provisioningState": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Succeeded",
+ "Updating",
+ "Creating",
+ "Failed"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ },
+ "resourceSettings": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/ResourceSettings"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Gets or sets the resource settings."
+ },
+ "sourceId": {
+ "type": "string",
+ "description": "Gets or sets the Source ARM Id of the resource."
+ }
+ },
+ "required": [
+ "sourceId"
+ ],
+ "description": "Defines the move resource properties."
+ },
+ "NetworkInterfaceResourceSettings": {
+ "type": "object",
+ "properties": {
+ "enableAcceleratedNetworking": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Gets or sets a value indicating whether accelerated networking is enabled."
+ },
+ "ipConfigurations": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NicIpConfigurationResourceSettings"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Gets or sets the IP configurations of the NIC."
+ },
+ "resourceType": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Network/networkInterfaces"
+ ]
+ }
+ },
+ "required": [
+ "resourceType"
+ ],
+ "description": "Defines the network interface resource settings."
+ },
+ "NetworkSecurityGroupResourceSettings": {
+ "type": "object",
+ "properties": {
+ "resourceType": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Network/networkSecurityGroups"
+ ]
+ },
+ "securityRules": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NsgSecurityRule"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Gets or sets Security rules of network security group."
+ }
+ },
+ "required": [
+ "resourceType"
+ ],
+ "description": "Defines the NSG resource settings."
+ },
+ "NicIpConfigurationResourceSettings": {
+ "type": "object",
+ "properties": {
+ "loadBalancerBackendAddressPools": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LoadBalancerBackendAddressPoolReference"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Gets or sets the references of the load balancer backend address pools."
+ },
+ "name": {
+ "type": "string",
+ "description": "Gets or sets the IP configuration name."
+ },
+ "primary": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Gets or sets a value indicating whether this IP configuration is the primary."
+ },
+ "privateIpAddress": {
+ "type": "string",
+ "description": "Gets or sets the private IP address of the network interface IP Configuration."
+ },
+ "privateIpAllocationMethod": {
+ "type": "string",
+ "description": "Gets or sets the private IP address allocation method."
+ },
+ "subnet": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubnetReference"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Defines reference to subnet."
+ }
+ },
+ "description": "Defines NIC IP configuration properties."
+ },
+ "NsgSecurityRule": {
+ "type": "object",
+ "properties": {
+ "access": {
+ "type": "string",
+ "description": "Gets or sets whether network traffic is allowed or denied.\r\nPossible values are “Allow” and “Deny”."
+ },
+ "description": {
+ "type": "string",
+ "description": "Gets or sets a description for this rule. Restricted to 140 chars."
+ },
+ "destinationAddressPrefix": {
+ "type": "string",
+ "description": "Gets or sets destination address prefix. CIDR or source IP range.\r\n A “*” can also be used to match all source IPs. Default tags such\r\nas ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used."
+ },
+ "destinationPortRange": {
+ "type": "string",
+ "description": "Gets or sets Destination Port or Range. Integer or range between\r\n0 and 65535. A “*” can also be used to match all ports."
+ },
+ "direction": {
+ "type": "string",
+ "description": "Gets or sets the direction of the rule.InBound or Outbound. The\r\ndirection specifies if rule will be evaluated on incoming or outgoing traffic."
+ },
+ "name": {
+ "type": "string",
+ "description": "Gets or sets the Security rule name."
+ },
+ "priority": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Gets or sets the priority of the rule. The value can be between\r\n100 and 4096. The priority number must be unique for each rule in the collection.\r\nThe lower the priority number, the higher the priority of the rule."
+ },
+ "protocol": {
+ "type": "string",
+ "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*)."
+ },
+ "sourceAddressPrefix": {
+ "type": "string",
+ "description": "Gets or sets source address prefix. CIDR or source IP range. A\r\n“*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,\r\n‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress\r\nrule, specifies where network traffic originates from."
+ },
+ "sourcePortRange": {
+ "type": "string",
+ "description": "Gets or sets Source Port or Range. Integer or range between 0 and\r\n65535. A “*” can also be used to match all ports."
+ }
+ },
+ "description": "Security Rule data model for Network Security Groups."
+ },
+ "PublicIPAddressResourceSettings": {
+ "type": "object",
+ "properties": {
+ "domainNameLabel": {
+ "type": "string",
+ "description": "Gets or sets the domain name label."
+ },
+ "fQDN": {
+ "type": "string",
+ "description": "Gets or sets the fully qualified domain name."
+ },
+ "publicIpAllocationMethod": {
+ "type": "string",
+ "description": "Gets or sets public IP allocation method."
+ },
+ "resourceType": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Network/publicIPAddresses"
+ ]
+ },
+ "sku": {
+ "type": "string",
+ "description": "Gets or sets public IP sku."
+ },
+ "zones": {
+ "type": "string",
+ "description": "Gets or sets public IP zones."
+ }
+ },
+ "required": [
+ "resourceType"
+ ],
+ "description": "Defines the public IP address resource settings."
+ },
+ "ResourceGroupResourceSettings": {
+ "type": "object",
+ "properties": {
+ "resourceType": {
+ "type": "string",
+ "enum": [
+ "resourceGroups"
+ ]
+ }
+ },
+ "required": [
+ "resourceType"
+ ],
+ "description": "Defines the resource group resource settings."
+ },
+ "ResourceSettings": {
+ "type": "object",
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineResourceSettings"
+ },
+ {
+ "$ref": "#/definitions/AvailabilitySetResourceSettings"
+ },
+ {
+ "$ref": "#/definitions/VirtualNetworkResourceSettings"
+ },
+ {
+ "$ref": "#/definitions/NetworkInterfaceResourceSettings"
+ },
+ {
+ "$ref": "#/definitions/NetworkSecurityGroupResourceSettings"
+ },
+ {
+ "$ref": "#/definitions/LoadBalancerResourceSettings"
+ },
+ {
+ "$ref": "#/definitions/SqlServerResourceSettings"
+ },
+ {
+ "$ref": "#/definitions/SqlElasticPoolResourceSettings"
+ },
+ {
+ "$ref": "#/definitions/SqlDatabaseResourceSettings"
+ },
+ {
+ "$ref": "#/definitions/ResourceGroupResourceSettings"
+ },
+ {
+ "$ref": "#/definitions/PublicIPAddressResourceSettings"
+ }
+ ],
+ "properties": {
+ "targetResourceName": {
+ "type": "string",
+ "description": "Gets or sets the target Resource name."
+ }
+ },
+ "required": [
+ "targetResourceName"
+ ],
+ "description": "Gets or sets the resource settings."
+ },
+ "SqlDatabaseResourceSettings": {
+ "type": "object",
+ "properties": {
+ "resourceType": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Sql/servers/databases"
+ ]
+ },
+ "zoneRedundant": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Enable",
+ "Disable"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ }
+ },
+ "required": [
+ "resourceType"
+ ],
+ "description": "Defines the Sql Database resource settings."
+ },
+ "SqlElasticPoolResourceSettings": {
+ "type": "object",
+ "properties": {
+ "resourceType": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Sql/servers/elasticPools"
+ ]
+ },
+ "zoneRedundant": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Enable",
+ "Disable"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ]
+ }
+ },
+ "required": [
+ "resourceType"
+ ],
+ "description": "Defines the Sql ElasticPool resource settings."
+ },
+ "SqlServerResourceSettings": {
+ "type": "object",
+ "properties": {
+ "resourceType": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Sql/servers"
+ ]
+ }
+ },
+ "required": [
+ "resourceType"
+ ],
+ "description": "Defines the SQL Server resource settings."
+ },
+ "SubnetReference": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Gets the name of the proxy resource on the target side."
+ },
+ "sourceArmResourceId": {
+ "type": "string",
+ "description": "Gets the ARM resource ID of the tracked resource being referenced."
+ }
+ },
+ "required": [
+ "sourceArmResourceId"
+ ],
+ "description": "Defines reference to subnet."
+ },
+ "SubnetResourceSettings": {
+ "type": "object",
+ "properties": {
+ "addressPrefix": {
+ "type": "string",
+ "description": "Gets or sets address prefix for the subnet."
+ },
+ "name": {
+ "type": "string",
+ "description": "Gets or sets the Subnet name."
+ }
+ },
+ "description": "Defines the virtual network subnets resource settings."
+ },
+ "VirtualMachineResourceSettings": {
+ "type": "object",
+ "properties": {
+ "resourceType": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Compute/virtualMachines"
+ ]
+ },
+ "targetAvailabilitySetId": {
+ "type": "string",
+ "description": "Gets or sets the target availability set id for virtual machines not in an availability set at source."
+ },
+ "targetAvailabilityZone": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "1",
+ "2",
+ "3",
+ "NA"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Gets or sets the target availability zone."
+ },
+ "targetVmSize": {
+ "type": "string",
+ "description": "Gets or sets the target virtual machine size."
+ }
+ },
+ "required": [
+ "resourceType"
+ ],
+ "description": "Gets or sets the virtual machine resource settings."
+ },
+ "VirtualNetworkResourceSettings": {
+ "type": "object",
+ "properties": {
+ "addressSpace": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Gets or sets the address prefixes for the virtual network."
+ },
+ "dnsServers": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\ndeployed in the virtual network."
+ },
+ "enableDdosProtection": {
+ "oneOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Gets or sets a value indicating whether gets or sets whether the\r\nDDOS protection should be switched on."
+ },
+ "resourceType": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Network/virtualNetworks"
+ ]
+ },
+ "subnets": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubnetResourceSettings"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Gets or sets List of subnets in a VirtualNetwork."
+ }
+ },
+ "required": [
+ "resourceType"
+ ],
+ "description": "Defines the virtual network resource settings."
+ }
+ }
+}
\ No newline at end of file
diff --git a/schemas/2019-10-01-preview/Microsoft.Resources.json b/schemas/2019-10-01-preview/Microsoft.Resources.json
index e87ef1e4c6..97283a3ee0 100644
--- a/schemas/2019-10-01-preview/Microsoft.Resources.json
+++ b/schemas/2019-10-01-preview/Microsoft.Resources.json
@@ -199,8 +199,9 @@
},
"timeout": {
"type": "string",
+ "default": "P1D",
"format": "duration",
- "description": "Maximum allowed script execution time specified in ISO 8601 format. Default value is PT1H"
+ "description": "Maximum allowed script execution time specified in ISO 8601 format. Default value is P1D"
}
},
"required": [
@@ -333,8 +334,9 @@
},
"timeout": {
"type": "string",
+ "default": "P1D",
"format": "duration",
- "description": "Maximum allowed script execution time specified in ISO 8601 format. Default value is PT1H"
+ "description": "Maximum allowed script execution time specified in ISO 8601 format. Default value is P1D"
}
},
"required": [
@@ -431,16 +433,7 @@
},
"UserAssignedIdentity": {
"type": "object",
- "properties": {
- "clientId": {
- "type": "string",
- "description": "Client App Id associated with this identity."
- },
- "principalId": {
- "type": "string",
- "description": "Azure Active Directory principal ID associated with this identity."
- }
- },
+ "properties": {},
"description": "User-assigned managed identity."
}
},
diff --git a/schemas/2020-01-01-preview/Microsoft.HybridNetwork.json b/schemas/2020-01-01-preview/Microsoft.HybridNetwork.json
new file mode 100644
index 0000000000..bbaec91627
--- /dev/null
+++ b/schemas/2020-01-01-preview/Microsoft.HybridNetwork.json
@@ -0,0 +1,1145 @@
+{
+ "id": "https://schema.management.azure.com/schemas/2020-01-01-preview/Microsoft.HybridNetwork.json#",
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Microsoft.HybridNetwork",
+ "description": "Microsoft HybridNetwork Resource Types",
+ "resourceDefinitions": {
+ "devices": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2020-01-01-preview"
+ ]
+ },
+ "location": {
+ "type": "string",
+ "description": "The geo-location where the resource lives"
+ },
+ "name": {
+ "type": "string",
+ "description": "Resource name for the device resource."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/DevicePropertiesFormat"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Device properties."
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.HybridNetwork/devices"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.HybridNetwork/devices"
+ },
+ "networkFunctions": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2020-01-01-preview"
+ ]
+ },
+ "etag": {
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "location": {
+ "type": "string",
+ "description": "The geo-location where the resource lives"
+ },
+ "name": {
+ "type": "string",
+ "description": "Resource name for the network function resource."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/NetworkFunctionPropertiesFormat"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Network function properties."
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "properties": {}
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Resource tags."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.HybridNetwork/networkFunctions"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "location",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.HybridNetwork/networkFunctions"
+ }
+ },
+ "subscription_resourceDefinitions": {
+ "locations_vendors_networkFunctions": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2020-01-01-preview"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "description": "The GUID for the vendor network function."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VendorNetworkFunctionPropertiesFormat"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Vendor network function properties."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.HybridNetwork/locations/vendors/networkFunctions"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.HybridNetwork/locations/vendors/networkFunctions"
+ },
+ "vendors": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2020-01-01-preview"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the vendor."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VendorPropertiesFormat"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Vendor properties."
+ },
+ "resources": {
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/vendors_vendorSkus_childResource"
+ }
+ ]
+ }
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.HybridNetwork/vendors"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.HybridNetwork/vendors"
+ },
+ "vendors_vendorSkus": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2020-01-01-preview"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the sku."
+ },
+ "properties": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VendorSkuPropertiesFormat"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Sku properties"
+ },
+ "resources": {
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/vendors_vendorSkus_previewSubscriptions_childResource"
+ }
+ ]
+ }
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.HybridNetwork/vendors/vendorSkus"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "properties",
+ "type"
+ ],
+ "description": "Microsoft.HybridNetwork/vendors/vendorSkus"
+ },
+ "vendors_vendorSkus_previewSubscriptions": {
+ "type": "object",
+ "properties": {
+ "apiVersion": {
+ "type": "string",
+ "enum": [
+ "2020-01-01-preview"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "description": "Preview subscription ID."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.HybridNetwork/vendors/vendorSkus/previewSubscriptions"
+ ]
+ }
+ },
+ "required": [
+ "apiVersion",
+ "name",
+ "type"
+ ],
+ "description": "Microsoft.HybridNetwork/vendors/vendorSkus/previewSubscriptions"
+ }
+ },
+ "definitions": {
+ "CustomProfile": {
+ "type": "object",
+ "properties": {
+ "metadataConfigurationPath": {
+ "type": "string",
+ "description": "Path for metadata configuration."
+ }
+ },
+ "description": "Specifies the custom settings for the virtual machine."
+ },
+ "DataDisk": {
+ "type": "object",
+ "properties": {
+ "createOption": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "Empty"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies how the virtual machine should be created."
+ },
+ "diskSizeGB": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the size of an empty disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of data disk."
+ }
+ },
+ "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)."
+ },
+ "DevicePropertiesFormat": {
+ "type": "object",
+ "properties": {
+ "azureStackEdge": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Reference to another sub resource."
+ }
+ },
+ "description": "Device properties."
+ },
+ "ImageReference": {
+ "type": "object",
+ "properties": {
+ "exactVersion": {
+ "type": "string",
+ "description": "Specifies in decimal numbers, the exact version of image used to create the virtual machine."
+ },
+ "offer": {
+ "type": "string",
+ "description": "Specifies the offer of the image used to create the virtual machine."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The image publisher."
+ },
+ "sku": {
+ "type": "string",
+ "description": "The image SKU."
+ },
+ "version": {
+ "type": "string",
+ "description": "Specifies the version of the image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available."
+ }
+ },
+ "description": "The image reference properties."
+ },
+ "LinuxConfiguration": {
+ "type": "object",
+ "properties": {
+ "ssh": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SshConfiguration"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "SSH configuration for Linux based VMs running on Azure"
+ }
+ },
+ "description": "Specifies the Linux operating system settings on the virtual machine."
+ },
+ "NetworkFunctionPropertiesFormat": {
+ "type": "object",
+ "properties": {
+ "device": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Reference to another sub resource."
+ },
+ "managedApplicationParameters": {
+ "type": "object",
+ "properties": {},
+ "description": "The parameters for the managed application."
+ },
+ "networkFunctionUserConfigurations": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkFunctionUserConfiguration"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The network function configurations from the user."
+ },
+ "skuName": {
+ "type": "string",
+ "description": "The sku name for the network function."
+ },
+ "vendorName": {
+ "type": "string",
+ "description": "The vendor name for the network function."
+ }
+ },
+ "description": "Network function properties."
+ },
+ "NetworkFunctionRoleConfiguration": {
+ "type": "object",
+ "properties": {
+ "customProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/CustomProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the custom settings for the virtual machine."
+ },
+ "networkInterfaces": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkInterface"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The network interface configurations."
+ },
+ "osProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/OsProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the operating system settings for the role instance."
+ },
+ "roleName": {
+ "type": "string",
+ "description": "The name of the network function role."
+ },
+ "roleType": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "VirtualMachine"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Role type."
+ },
+ "storageProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/StorageProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the storage settings for the virtual machine disks."
+ },
+ "userDataParameters": {
+ "type": "object",
+ "properties": {},
+ "description": "The user data parameters."
+ },
+ "userDataTemplate": {
+ "type": "object",
+ "properties": {},
+ "description": "The user data template."
+ },
+ "virtualMachineSize": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "Standard_D1_v2",
+ "Standard_D2_v2",
+ "Standard_D3_v2",
+ "Standard_D4_v2",
+ "Standard_D5_v2",
+ "Standard_D11_v2",
+ "Standard_D12_v2",
+ "Standard_D13_v2",
+ "Standard_DS1_v2",
+ "Standard_DS2_v2",
+ "Standard_DS3_v2",
+ "Standard_DS4_v2",
+ "Standard_DS5_v2",
+ "Standard_DS11_v2",
+ "Standard_DS12_v2",
+ "Standard_DS13_v2",
+ "Standard_F1",
+ "Standard_F2",
+ "Standard_F4",
+ "Standard_F8",
+ "Standard_F16",
+ "Standard_F1s",
+ "Standard_F2s",
+ "Standard_F4s",
+ "Standard_F8s",
+ "Standard_F16s"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The size of the virtual machine."
+ }
+ },
+ "description": "Network function role configuration."
+ },
+ "NetworkFunctionTemplate": {
+ "type": "object",
+ "properties": {
+ "networkFunctionRoleConfigurations": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkFunctionRoleConfiguration"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "An array of network function role definitions."
+ }
+ },
+ "description": "The network function template."
+ },
+ "NetworkFunctionUserConfiguration": {
+ "type": "object",
+ "properties": {
+ "networkInterfaces": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkInterface"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The network interface configuration."
+ },
+ "osProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/NetworkFunctionUserConfigurationOsProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the operating system settings for the role instance."
+ },
+ "roleName": {
+ "type": "string",
+ "description": "The name of the network function role."
+ },
+ "userDataParameters": {
+ "type": "object",
+ "properties": {},
+ "description": "The user data parameters."
+ }
+ },
+ "description": "The network function user configuration."
+ },
+ "NetworkFunctionUserConfigurationOsProfile": {
+ "type": "object",
+ "properties": {
+ "customData": {
+ "type": "string",
+ "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes.
**Note: Do not pass any secrets or passwords in customData property**
This property cannot be updated after the VM is created.
customData is passed to the VM to be saved as a file. For more information see [Custom Data on Azure VMs](https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/)
For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)"
+ }
+ },
+ "description": "Specifies the operating system settings for the role instance."
+ },
+ "NetworkFunctionVendorConfiguration": {
+ "type": "object",
+ "properties": {
+ "networkInterfaces": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkInterface"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The network interface configurations."
+ },
+ "osProfile": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/OsProfile"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the operating system settings for the role instance."
+ },
+ "roleName": {
+ "type": "string",
+ "description": "The name of the vendor network function role."
+ }
+ },
+ "description": "Network function vendor configuration."
+ },
+ "NetworkInterface": {
+ "type": "object",
+ "properties": {
+ "ipConfigurations": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkInterfaceIPConfiguration"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "A list of IP configurations of the network interface."
+ },
+ "macAddress": {
+ "type": "string",
+ "description": "The MAC address of the network interface."
+ },
+ "networkInterfaceName": {
+ "type": "string",
+ "description": "The name of the network interface."
+ },
+ "vmSwitchType": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "Management",
+ "Wan",
+ "Lan"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The type of the VM switch."
+ }
+ },
+ "description": "Network interface properties."
+ },
+ "NetworkInterfaceIPConfiguration": {
+ "type": "object",
+ "properties": {
+ "dnsServers": {
+ "oneOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The list of DNS servers IP addresses."
+ },
+ "gateway": {
+ "type": "string",
+ "description": "The value of the gateway."
+ },
+ "ipAddress": {
+ "type": "string",
+ "description": "The value of the IP address."
+ },
+ "ipAllocationMethod": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "Static",
+ "Dynamic"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "IP address allocation method."
+ },
+ "ipVersion": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "IPv4"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "IP address version."
+ },
+ "subnet": {
+ "type": "string",
+ "description": "The value of the subnet."
+ }
+ },
+ "description": "Network interface IP configuration properties."
+ },
+ "OsDisk": {
+ "type": "object",
+ "properties": {
+ "diskSizeGB": {
+ "oneOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Specifies the size of os disk in gigabytes. This is the fully expanded disk size needed of the VHD image on the ASE. This disk size should be greater than the size of the VHD provided in vhdUri."
+ },
+ "name": {
+ "type": "string",
+ "description": "The VHD name."
+ },
+ "osType": {
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "Windows",
+ "Linux"
+ ]
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "The OS type."
+ },
+ "vhd": {
+ "oneOf": [
+ {
+ "$ref": "#/definitions/VirtualHardDisk"
+ },
+ {
+ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
+ }
+ ],
+ "description": "Describes the uri of a disk."
+ }
+ },
+ "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)."
+ },
+ "OsProfile": {
+ "type": "object",
+ "properties": {
+ "adminUsername": {
+ "type": "string",
+ "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters