Skip to content

Commit 4e96148

Browse files
authored
Marking the movestatus/moveresourcerror properties as readonly. (#10627)
1 parent 8b0d31e commit 4e96148

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

specification/regionmove/resource-manager/Microsoft.Migrate/preview/2019-10-01-preview/regionmovecollection.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -947,6 +947,7 @@
947947
"Committed"
948948
],
949949
"type": "string",
950+
"readOnly": true,
950951
"x-ms-enum": {
951952
"name": "MoveState",
952953
"modelAsString": true
@@ -985,6 +986,7 @@
985986
"InitialSync"
986987
],
987988
"type": "string",
989+
"readOnly": true,
988990
"x-ms-enum": {
989991
"name": "JobName",
990992
"modelAsString": true
@@ -999,7 +1001,8 @@
9991001
},
10001002
"jobProgress": {
10011003
"description": "Gets or sets the monitoring job percentage.",
1002-
"type": "string"
1004+
"type": "string",
1005+
"readOnly": true
10031006
}
10041007
}
10051008
},
@@ -1018,7 +1021,8 @@
10181021
},
10191022
"targetId": {
10201023
"description": "Gets the Target ARM Id of the resource.",
1021-
"type": "string"
1024+
"type": "string",
1025+
"readOnly": true
10221026
}
10231027
}
10241028
},
@@ -1542,18 +1546,22 @@
15421546
"properties": {
15431547
"code": {
15441548
"type": "string",
1549+
"readOnly": true,
15451550
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
15461551
},
15471552
"message": {
15481553
"type": "string",
1554+
"readOnly": true,
15491555
"description": "A message describing the error, intended to be suitable for display in a user interface."
15501556
},
15511557
"target": {
15521558
"type": "string",
1559+
"readOnly": true,
15531560
"description": "The target of the particular error. For example, the name of the property in error."
15541561
},
15551562
"details": {
15561563
"type": "array",
1564+
"readOnly": true,
15571565
"items": {
15581566
"$ref": "#/definitions/MoveResourceErrorBody"
15591567
},

0 commit comments

Comments
 (0)