-
Notifications
You must be signed in to change notification settings - Fork 232
/
azure.storage.filedatalake.FileSystemSasPermissions.yml
97 lines (86 loc) · 2.93 KB
/
azure.storage.filedatalake.FileSystemSasPermissions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
### YamlMime:PythonClass
uid: azure.storage.filedatalake.FileSystemSasPermissions
name: FileSystemSasPermissions
fullName: azure.storage.filedatalake.FileSystemSasPermissions
module: azure.storage.filedatalake
inheritances:
- builtins.object
summary: 'FileSystemSasPermissions class to be used with the
<xref:azure.storage.filedatalake.generate_file_system_sas> function.'
constructor:
syntax: FileSystemSasPermissions(read=False, write=False, delete=False, list=False,
**kwargs)
parameters:
- name: read
description: Read the content, properties, metadata etc.
defaultValue: 'False'
types:
- <xref:bool>
- name: write
description: Create or write content, properties, metadata. Lease the file system.
defaultValue: 'False'
types:
- <xref:bool>
- name: delete
description: Delete the file system.
defaultValue: 'False'
types:
- <xref:bool>
- name: list
description: List paths in the file system.
defaultValue: 'False'
types:
- <xref:bool>
keywordOnlyParameters:
- name: add
description: Append data to a file in the directory.
types:
- <xref:bool>
- name: create
description: Write a new file, snapshot a file, or copy a file to a new file.
types:
- <xref:bool>
- name: move
description: 'Move any file in the directory to a new location.
Note the move operation can optionally be restricted to the child file or directory
owner or
the parent directory owner if the saoid parameter is included in the token and
the sticky bit is set
on the parent directory.'
types:
- <xref:bool>
- name: execute
description: 'Get the status (system defined properties) and ACL of any file in
the directory.
If the caller is the owner, set access control on any file in the directory.'
types:
- <xref:bool>
- name: manage_ownership
description: 'Allows the user to set owner, owning group, or act as the owner
when renaming or deleting a file or directory
within a folder that has the sticky bit set.'
types:
- <xref:bool>
- name: manage_access_control
description: Allows the user to set permissions and POSIX ACLs on files and directories.
types:
- <xref:bool>
methods:
- uid: azure.storage.filedatalake.FileSystemSasPermissions.from_string
name: from_string
summary: 'Create a FileSystemSasPermissions from a string.
To specify read, write, or delete permissions you need only to
include the first letter of the word in the string. E.g. For read and
write permissions, you would provide a string "rw".'
signature: from_string(permission)
parameters:
- name: permission
description: 'The string which dictates the read, add, create,
write, or delete permissions.'
isRequired: true
types:
- <xref:str>
return:
description: A FileSystemSasPermissions object
types:
- <xref:azure.storage.filedatalake.FileSystemSasPermissions>