Skip to content

Commit

Permalink
[Storage][Recursive ACL] Tweak mode enum to allow hiding it in transf…
Browse files Browse the repository at this point in the history
…orms (#8789)
  • Loading branch information
kasobol-msft authored Mar 20, 2020
1 parent 0e00002 commit afe2cdb
Showing 1 changed file with 20 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -670,22 +670,6 @@
"modelAsString": false
}
},
{
"name": "mode",
"in": "query",
"description": "Optional. Valid and Required for \"SetAccessControlRecursive\" operation. Mode \"set\" sets POSIX access control rights on files and directories, \"modify\" modifies one or more POSIX access control rights that pre-exist on files and directories, \"remove\" removes one or more POSIX access control rights that were present earlier on files and directories",
"required": false,
"type": "string",
"enum": [
"set",
"modify",
"remove"
],
"x-ms-enum": {
"name": "PathSetAccessControlRecursiveMode",
"modelAsString": false
}
},
{
"name": "maxRecords",
"in": "query",
Expand All @@ -702,6 +686,9 @@
"required": false,
"type": "string"
},
{
"$ref": "#/parameters/PathSetAccessControlRecursiveMode"
},
{
"$ref": "#/parameters/Position"
},
Expand Down Expand Up @@ -1704,20 +1691,7 @@
"$ref": "#/parameters/Continuation"
},
{
"name": "mode",
"in": "query",
"description": "Mode \"set\" sets POSIX access control rights on files and directories, \"modify\" modifies one or more POSIX access control rights that pre-exist on files and directories, \"remove\" removes one or more POSIX access control rights that were present earlier on files and directories",
"required": true,
"type": "string",
"enum": [
"set",
"modify",
"remove"
],
"x-ms-enum": {
"name": "PathSetAccessControlRecursiveMode",
"modelAsString": false
}
"$ref": "#/parameters/PathSetAccessControlRecursiveMode"
},
{
"name": "maxRecords",
Expand Down Expand Up @@ -2198,6 +2172,22 @@
"required": false,
"type": "string"
},
"PathSetAccessControlRecursiveMode": {
"name": "mode",
"in": "query",
"description": "Mode \"set\" sets POSIX access control rights on files and directories, \"modify\" modifies one or more POSIX access control rights that pre-exist on files and directories, \"remove\" removes one or more POSIX access control rights that were present earlier on files and directories",
"required": true,
"type": "string",
"enum": [
"set",
"modify",
"remove"
],
"x-ms-enum": {
"name": "PathSetAccessControlRecursiveMode",
"modelAsString": false
}
},
"Directory": {
"name": "directory",
"x-ms-client-name": "Path",
Expand Down

0 comments on commit afe2cdb

Please sign in to comment.