Skip to content

Commit

Permalink
adding "x-ms-azure-resource": true to dataMigration service and project
Browse files Browse the repository at this point in the history
(because of the error : The 200 response model for an ARM PUT operation must have x-ms-azure-resource extension set to true in its hierarchy. Operation: 'Services_CreateOrUpdate' Model: 'DataMigrationService'.
Location: Microsoft.DataMigration/preview/2021-10-30-preview/datamigration.json#L97)

also, removing x-ms-azure-resource from trackedResource
  • Loading branch information
Vasundhra Manhas committed Oct 7, 2021
1 parent bd0fb9c commit f2440ee
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,7 @@
{
"$ref": "#/definitions/Resource"
}
],
"x-ms-azure-resource": true
]
},
"ConnectionInfo": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
{
"$ref": "./Common.json#/definitions/TrackedResource"
}
]
],
"x-ms-azure-resource": true
},
"ProjectList": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@
{
"$ref": "./Common.json#/definitions/TrackedResource"
}
]
],
"x-ms-azure-resource": true
},
"DataMigrationServiceList": {
"type": "object",
Expand Down

0 comments on commit f2440ee

Please sign in to comment.