SharePermissions class

Definition

SharePermissions class to be used with azure.storage.file.FileService.generate_share_shared_access_signature method and for the AccessPolicies used with azure.storage.file.FileService.set_share_acl.

SharePermissions(read=False, write=False, delete=False, list=False, _str=None)
Inheritance
builtins.object
SharePermissions

Variables

FilePermissions.DELETE
SharePermissions
Delete any file in the share. Note: You cannot grant permissions to delete a share with a service SAS. Use an account SAS instead.
FilePermissions.LIST
SharePermissions
List files and directories in the share.
FilePermissions.READ
SharePermissions
Read the content, properties or metadata of any file in the share. Use any file in the share as the source of a copy operation.
FilePermissions.WRITE
SharePermissions
For any file in the share, create or write content, properties or metadata. Resize the file. Use the file as the destination of a copy operation within the same account. Note: You cannot grant permissions to read or write share properties or metadata with a service SAS. Use an account SAS instead.

Attributes

DELETE

DELETE = <azure.storage.file.models.SharePermissions object>

LIST

LIST = <azure.storage.file.models.SharePermissions object>

READ

READ = <azure.storage.file.models.SharePermissions object>

WRITE

WRITE = <azure.storage.file.models.SharePermissions object>