FilePermissions Class
FilePermissions class to be used with generate_file_shared_access_signature API.
- Inheritance
-
builtins.objectFilePermissions
Constructor
FilePermissions(read=False, create=False, write=False, delete=False, _str=None)
Parameters
Name | Description |
---|---|
read
|
Read the content, properties, metadata. Use the file as the source of a copy operation. default value: False
|
create
|
Create a new file or copy a file to a new file. default value: False
|
write
|
Create or write content, properties, metadata. Resize the file. Use the file as the destination of a copy operation within the same account. default value: False
|
delete
|
Delete the file. default value: False
|
_str
|
A string representing the permissions. default value: None
|
Variables
Name | Description |
---|---|
FilePermissions.CREATE
|
Create a new file or copy a file to a new file. |
FilePermissions.DELETE
|
Delete the file. |
FilePermissions.READ
|
Read the content, properties, metadata. Use the file as the source of a copy operation. |
FilePermissions.WRITE
|
Create or write content, properties, metadata. Resize the file. Use the file as the destination of a copy operation within the same account. |
Attributes
CREATE
CREATE = <azure.storage.file.models.FilePermissions object>
DELETE
DELETE = <azure.storage.file.models.FilePermissions object>
READ
READ = <azure.storage.file.models.FilePermissions object>
WRITE
WRITE = <azure.storage.file.models.FilePermissions object>
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for