Skip to content

Commit c1927d1

Browse files
isDataAction and nameAvailability (#11790)
1 parent afbf096 commit c1927d1

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2020-04-06-preview/examples/proxy/CheckNameAvailabilityForLocalUniqueness.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"responses": {
1212
"200": {
1313
"body": {
14-
"nameAvailable": "false",
14+
"nameAvailable": false,
1515
"reason": "AlreadyExists",
1616
"message": "..."
1717
}

specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2020-04-06-preview/proxy.json

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
"properties": {
145145
"nameAvailable": {
146146
"description": "if name Available",
147-
"$ref": "#/definitions/NameAvailability"
147+
"type": "boolean"
148148
},
149149
"reason": {
150150
"description": "Resource Name To Verify",
@@ -167,6 +167,10 @@
167167
"display": {
168168
"description": "The object that represents the operation.",
169169
"$ref": "#/definitions/OperationDisplay"
170+
},
171+
"isDataAction": {
172+
"description": "Whether or not this is a data plane operation",
173+
"type": "boolean"
170174
}
171175
}
172176
},
@@ -198,18 +202,6 @@
198202
}
199203
}
200204
},
201-
"NameAvailability": {
202-
"description": "Whether or not the name is available.",
203-
"type": "string",
204-
"enum": [
205-
"true",
206-
"false"
207-
],
208-
"x-ms-enum": {
209-
"name": "NameAvailability",
210-
"modelAsString": true
211-
}
212-
},
213205
"NameUnavailableReason": {
214206
"description": "reason of name unavailable.",
215207
"type": "string",

0 commit comments

Comments
 (0)