Skip to content

Commit

Permalink
isDataAction and nameAvailability (#11790)
Browse files Browse the repository at this point in the history
  • Loading branch information
roytan-microsoft committed Dec 16, 2020
1 parent afbf096 commit c1927d1
Show file tree
Hide file tree
Showing 2 changed files with 6 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

0 comments on commit c1927d1

Please sign in to comment.