File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
specification/storage/data-plane/Microsoft.FileStorage/preview/2019-02-02 Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 516516 ],
517517 "operationId" : " Share_CreatePermission" ,
518518 "description" : " Create a permission (a security descriptor)." ,
519+ "consumes" : [
520+ " application/json"
521+ ],
519522 "parameters" : [{
520523 "$ref" : " #/parameters/Timeout"
521524 },
522525 {
523526 "$ref" : " #/parameters/ApiVersionParameter"
527+ },
528+ {
529+ "$ref" : " #/parameters/SharePermission"
524530 }
525531 ],
526532 "responses" : {
569575 ],
570576 "operationId" : " Share_GetPermission" ,
571577 "description" : " Returns the permission (security descriptor) for a given key" ,
578+ "produces" : [
579+ " application/json"
580+ ],
572581 "parameters" : [{
573582 "$ref" : " #/parameters/FilePermissionKey"
574583 },
598607 "format" : " date-time-rfc1123" ,
599608 "description" : " A UTC date/time value generated by the service that indicates the time at which the response was initiated."
600609 }
610+ },
611+ "schema" : {
612+ "$ref" : " #/definitions/SharePermission"
601613 }
602614 },
603615 "default" : {
39713983 }
39723984 }
39733985 }
3986+ },
3987+ "SharePermission" : {
3988+ "description" : " A permission (a security descriptor) at the share level." ,
3989+ "type" : " object" ,
3990+ "required" : [
3991+ " permission"
3992+ ],
3993+ "properties" : {
3994+ "permission" : {
3995+ "type" : " string" ,
3996+ "description" : " The permission in the Security Descriptor Definition Language (SDDL)."
3997+ }
3998+ }
39743999 }
39754000 },
39764001 "parameters" : {
44044429 "type" : " integer" ,
44054430 "minimum" : 0 ,
44064431 "x-ms-parameter-location" : " method"
4432+ },
4433+ "SharePermission" : {
4434+ "name" : " sharePermission" ,
4435+ "in" : " body" ,
4436+ "description" : " A permission (a security descriptor) at the share level." ,
4437+ "required" : true ,
4438+ "schema" : {
4439+ "$ref" : " #/definitions/SharePermission"
4440+ },
4441+ "x-ms-parameter-location" : " method"
44074442 }
44084443 }
44094444}
You can’t perform that action at this time.
0 commit comments