Skip to content

Commit

Permalink
renaming trackedResource to trackedResourceARM in v2 and restoring th…
Browse files Browse the repository at this point in the history
…e trackedResource in v1
  • Loading branch information
Vasundhra Manhas committed Sep 29, 2021
1 parent 640afdc commit 269a4c3
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,45 @@
},
"x-ms-azure-resource": true
},
"TrackedResource": {
"type": "object",
"description": "ARM tracked top level resource.",
"properties": {
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"x-ms-mutability": [
"read",
"create",
"update"
],
"description": "Resource tags."
},
"location": {
"type": "string",
"x-ms-mutability": [
"read",
"create"
],
"description": "Resource location."
},
"systemData": {
"$ref": "../sqlmigration.json#/definitions/SystemData",
"description": "Metadata pertaining to creation and last modification of the resource.",
"readOnly": true
}
},
"required": [
"location"
],
"allOf": [
{
"$ref": "#/definitions/Resource"
}
]
},
"ConnectionInfo": {
"type": "object",
"description": "Defines the connection properties of a server",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"allOf": [
{
"$ref": "../sqlmigration.json#/definitions/TrackedResource"
"$ref": "./Common.json#/definitions/TrackedResource"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
},
"allOf": [
{
"$ref": "../sqlmigration.json#/definitions/TrackedResource"
"$ref": "./Common.json#/definitions/TrackedResource"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,7 @@
}
}
},
"TrackedResource": {
"TrackedResourceARM": {
"type": "object",
"properties": {
"location": {
Expand Down Expand Up @@ -1448,7 +1448,7 @@
"type": "object",
"allOf": [
{
"$ref": "#/definitions/TrackedResource"
"$ref": "#/definitions/TrackedResourceARM"
}
],
"properties": {
Expand Down

0 comments on commit 269a4c3

Please sign in to comment.