Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.MixedReality to add vers…
Browse files Browse the repository at this point in the history
…ion stable/2020-05-01 (Azure#11810)

* fix spec

* fix prettier
  • Loading branch information
roytan-microsoft authored and josuh committed Jan 6, 2021
1 parent d3aceed commit 09bdc9c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"responses": {
"200": {
"body": {
"nameAvailable": "false",
"nameAvailable": false,
"reason": "AlreadyExists",
"message": "..."
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
"properties": {
"nameAvailable": {
"description": "if name Available",
"$ref": "#/definitions/NameAvailability"
"type": "boolean"
},
"reason": {
"description": "Resource Name To Verify",
Expand All @@ -167,6 +167,10 @@
"display": {
"description": "The object that represents the operation.",
"$ref": "#/definitions/OperationDisplay"
},
"isDataAction": {
"description": "Whether or not this is a data plane operation",
"type": "boolean"
}
}
},
Expand Down Expand Up @@ -198,18 +202,6 @@
}
}
},
"NameAvailability": {
"description": "Whether or not the name is available.",
"type": "string",
"enum": [
"true",
"false"
],
"x-ms-enum": {
"name": "NameAvailability",
"modelAsString": true
}
},
"NameUnavailableReason": {
"description": "reason of name unavailable.",
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,10 @@
"x-ms-client-flatten": true,
"description": "Property bag.",
"$ref": "./common.json#/definitions/MixedRealityAccountProperties"
},
"identity": {
"description": "The identity associated with this account",
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity"
}
}
},
Expand Down

0 comments on commit 09bdc9c

Please sign in to comment.