Skip to content

Commit 12ff3b9

Browse files
authored
Revert "Added FileSystem Get/SetAccessControl and SetPermissions (#8081)" (#8134)
This reverts commit 855877c.
1 parent 855877c commit 12ff3b9

File tree

1 file changed

+0
-295
lines changed

1 file changed

+0
-295
lines changed

specification/storage/data-plane/Microsoft.StorageDataLake/stable/2018-11-09/DataLakeStorage.json

Lines changed: 0 additions & 295 deletions
Original file line numberDiff line numberDiff line change
@@ -482,301 +482,6 @@
482482
}
483483
]
484484
},
485-
"/{filesystem}/?action=setAccessControl": {
486-
"patch": {
487-
"tags": [
488-
"FileSystem Operations"
489-
],
490-
"operationId": "FileSystem_SetAccessControl",
491-
"description": "Set the owner, group, permissions, or access control list for a file system.",
492-
"parameters": [
493-
{
494-
"$ref": "#/parameters/Timeout"
495-
},
496-
{
497-
"$ref": "#/parameters/LeaseIdOptional"
498-
},
499-
{
500-
"$ref": "#/parameters/Owner"
501-
},
502-
{
503-
"$ref": "#/parameters/Group"
504-
},
505-
{
506-
"$ref": "#/parameters/Permissions"
507-
},
508-
{
509-
"$ref": "#/parameters/Acl"
510-
},
511-
{
512-
"$ref": "#/parameters/IfMatch"
513-
},
514-
{
515-
"$ref": "#/parameters/IfNoneMatch"
516-
},
517-
{
518-
"$ref": "#/parameters/IfModifiedSince"
519-
},
520-
{
521-
"$ref": "#/parameters/IfUnmodifiedSince"
522-
},
523-
{
524-
"$ref": "#/parameters/ClientRequestId"
525-
},
526-
{
527-
"$ref": "#/parameters/ApiVersionParameter"
528-
}
529-
],
530-
"responses": {
531-
"200": {
532-
"description": "Set file system access control response.",
533-
"headers": {
534-
"Date": {
535-
"type": "string",
536-
"format": "date-time-rfc1123",
537-
"description": "A UTC date/time value generated by the service that indicates the time at which the response was initiated."
538-
},
539-
"ETag": {
540-
"type": "string",
541-
"format": "etag",
542-
"description": "An HTTP entity tag associated with the file or directory."
543-
},
544-
"Last-Modified": {
545-
"type": "string",
546-
"format": "date-time-rfc1123",
547-
"description": "The data and time the file or directory was last modified. Write operations on the file system update the last modified time."
548-
},
549-
"x-ms-client-request-id": {
550-
"x-ms-client-name": "ClientRequestId",
551-
"type": "string",
552-
"description": "If a client request id header is sent in the request, this header will be present in the response with the same value."
553-
},
554-
"x-ms-request-id": {
555-
"x-ms-client-name": "RequestId",
556-
"type": "string",
557-
"description": "A server-generated UUID recorded in the analytics logs for troubleshooting and correlation."
558-
},
559-
"x-ms-version": {
560-
"x-ms-client-name": "Version",
561-
"type": "string",
562-
"description": "The version of the REST protocol used to process the request."
563-
}
564-
}
565-
},
566-
"default": {
567-
"description": "Failure",
568-
"headers": {
569-
"x-ms-client-request-id": {
570-
"x-ms-client-name": "ClientRequestId",
571-
"type": "string",
572-
"description": "If a client request id header is sent in the request, this header will be present in the response with the same value."
573-
},
574-
"x-ms-request-id": {
575-
"x-ms-client-name": "RequestId",
576-
"type": "string",
577-
"description": "A server-generated UUID recorded in the analytics logs for troubleshooting and correlation."
578-
},
579-
"x-ms-version": {
580-
"x-ms-client-name": "Version",
581-
"type": "string",
582-
"description": "The version of the REST protocol used to process the request."
583-
}
584-
},
585-
"schema": {
586-
"$ref": "#/definitions/StorageError"
587-
}
588-
}
589-
}
590-
},
591-
"parameters": [
592-
{
593-
"name": "action",
594-
"in": "query",
595-
"required": true,
596-
"type": "string",
597-
"enum": [
598-
"setAccessControl"
599-
]
600-
}
601-
]
602-
},
603-
"/{filesystem}/?action=getAccessControl": {
604-
"head": {
605-
"operationId": "FileSystem_GetAccessControl",
606-
"summary": "Get Access Control List",
607-
"description": "Get Access Control List returns the access control list for a file system. This operation supports conditional HTTP requests. For more information, see [Specifying Conditional Headers for Blob Service Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).",
608-
"tags": [
609-
"File System Operations"
610-
],
611-
"parameters": [
612-
{
613-
"$ref": "#/parameters/Upn"
614-
},
615-
{
616-
"$ref": "#/parameters/LeaseIdOptional"
617-
},
618-
{
619-
"$ref": "#/parameters/IfMatch"
620-
},
621-
{
622-
"$ref": "#/parameters/IfNoneMatch"
623-
},
624-
{
625-
"$ref": "#/parameters/IfModifiedSince"
626-
},
627-
{
628-
"$ref": "#/parameters/IfUnmodifiedSince"
629-
}
630-
],
631-
"responses": {
632-
"200": {
633-
"description": "Returns all properties for the file or directory.",
634-
"headers": {
635-
"Accept-Ranges": {
636-
"description": "Indicates that the service supports requests for partial file content.",
637-
"type": "string"
638-
},
639-
"Cache-Control": {
640-
"description": "If the Cache-Control request header has previously been set for the resource, that value is returned in this header.",
641-
"type": "string"
642-
},
643-
"Content-Disposition": {
644-
"description": "If the Content-Disposition request header has previously been set for the resource, that value is returned in this header.",
645-
"type": "string"
646-
},
647-
"Content-Encoding": {
648-
"description": "If the Content-Encoding request header has previously been set for the resource, that value is returned in this header.",
649-
"type": "string"
650-
},
651-
"Content-Language": {
652-
"description": "If the Content-Language request header has previously been set for the resource, that value is returned in this header.",
653-
"type": "string"
654-
},
655-
"Content-Length": {
656-
"description": "The size of the resource in bytes.",
657-
"type": "integer",
658-
"format": "int64"
659-
},
660-
"Content-Range": {
661-
"description": "Indicates the range of bytes returned in the event that the client requested a subset of the file by setting the Range request header.",
662-
"type": "string"
663-
},
664-
"Content-Type": {
665-
"description": "The content type specified for the resource. If no content type was specified, the default content type is application/octet-stream.",
666-
"type": "string"
667-
},
668-
"Content-MD5": {
669-
"description": "The MD5 hash of complete file stored in storage. This header is returned only for \"GetProperties\" operation. If the Content-MD5 header has been set for the file, this response header is returned for GetProperties call so that the client can check for message content integrity.",
670-
"type": "string"
671-
},
672-
"Date": {
673-
"description": "A UTC date/time value generated by the service that indicates the time at which the response was initiated.",
674-
"type": "string",
675-
"format": "date-time-rfc1123"
676-
},
677-
"ETag": {
678-
"description": "An HTTP entity tag associated with the file or directory.",
679-
"format": "etag",
680-
"type": "string"
681-
},
682-
"Last-Modified": {
683-
"description": "The data and time the file or directory was last modified. Write operations on the file or directory update the last modified time.",
684-
"format": "date-time-rfc1123",
685-
"type": "string"
686-
},
687-
"x-ms-request-id": {
688-
"x-ms-client-name": "RequestId",
689-
"description": "A server-generated UUID recorded in the analytics logs for troubleshooting and correlation.",
690-
"pattern": "^[{(]?[0-9a-f]{8}[-]?([0-9a-f]{4}[-]?){3}[0-9a-f]{12}[)}]?$",
691-
"type": "string"
692-
},
693-
"x-ms-version": {
694-
"x-ms-client-name": "Version",
695-
"description": "The version of the REST protocol used to process the request.",
696-
"type": "string"
697-
},
698-
"x-ms-resource-type": {
699-
"x-ms-client-name": "ResourceType",
700-
"description": "The type of the resource. The value may be \"file\" or \"directory\". If not set, the value is \"file\".",
701-
"type": "string"
702-
},
703-
"x-ms-properties": {
704-
"x-ms-client-name": "Properties",
705-
"description": "The user-defined properties associated with the file or directory, in the format of a comma-separated list of name and value pairs \"n1=v1, n2=v2, ...\", where each value is a base64 encoded string. Note that the string may only contain ASCII characters in the ISO-8859-1 character set.",
706-
"type": "string"
707-
},
708-
"x-ms-owner": {
709-
"x-ms-client-name": "Owner",
710-
"description": "The owner of the file or directory. Included in the response if Hierarchical Namespace is enabled for the account.",
711-
"type": "string"
712-
},
713-
"x-ms-group": {
714-
"x-ms-client-name": "Group",
715-
"description": "The owning group of the file or directory. Included in the response if Hierarchical Namespace is enabled for the account.",
716-
"type": "string"
717-
},
718-
"x-ms-permissions": {
719-
"x-ms-client-name": "Permissions",
720-
"description": "The POSIX access permissions for the file owner, the file owning group, and others. Included in the response if Hierarchical Namespace is enabled for the account.",
721-
"type": "string"
722-
},
723-
"x-ms-acl": {
724-
"x-ms-client-name": "ACL",
725-
"description": "The POSIX access control list for the file or directory. Included in the response only if the action is \"getAccessControl\" and Hierarchical Namespace is enabled for the account.",
726-
"type": "string"
727-
},
728-
"x-ms-lease-duration": {
729-
"x-ms-client-name": "LeaseDuration",
730-
"description": "When a resource is leased, specifies whether the lease is of infinite or fixed duration.",
731-
"type": "string"
732-
},
733-
"x-ms-lease-state": {
734-
"x-ms-client-name": "LeaseState",
735-
"description": "Lease state of the resource.",
736-
"type": "string"
737-
},
738-
"x-ms-lease-status": {
739-
"x-ms-client-name": "LeaseStatus",
740-
"description": "The lease status of the resource.",
741-
"type": "string"
742-
}
743-
}
744-
},
745-
"default": {
746-
"description": "Failure",
747-
"headers": {
748-
"x-ms-error-code": {
749-
"x-ms-client-name": "ErrorCode",
750-
"type": "string"
751-
}
752-
},
753-
"schema": {
754-
"$ref": "#/definitions/StorageError"
755-
}
756-
}
757-
}
758-
},
759-
"parameters": [
760-
{
761-
"name": "action",
762-
"in": "query",
763-
"required": true,
764-
"type": "string",
765-
"enum": [
766-
"getAccessControl"
767-
]
768-
},
769-
{
770-
"$ref": "#/parameters/ClientRequestId"
771-
},
772-
{
773-
"$ref": "#/parameters/Timeout"
774-
},
775-
{
776-
"$ref": "#/parameters/ApiVersionParameter"
777-
}
778-
]
779-
},
780485
"/{filesystem}/{path}": {
781486
"put": {
782487
"operationId": "Path_Create",

0 commit comments

Comments
 (0)