AccountSasPermissions Class
- Inheritance
-
azure.storage.blob._shared.models.AccountSasPermissionsAccountSasPermissions
Constructor
AccountSasPermissions(read=False, write=False, delete=False, list=False, create=False)
Parameters
Name | Description |
---|---|
read
|
Default value: False
|
write
|
Default value: False
|
delete
|
Default value: False
|
list
|
Default value: False
|
create
|
Default value: False
|
Methods
from_string |
Create AccountSasPermissions from a string. To specify read, write, delete, etc. 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". |
from_string
Create AccountSasPermissions from a string.
To specify read, write, delete, etc. 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".
from_string(permission)
Parameters
Name | Description |
---|---|
permission
Required
|
Specify permissions in the string with the first letter of the word. |
Returns
Type | Description |
---|---|
An AccountSasPermissions object |
Attributes
add
add: bool = False
create
create: bool = False
delete
delete: bool = False
delete_previous_version
delete_previous_version: bool = False
filter_by_tags
filter_by_tags: bool = False
list
list: bool = False
permanent_delete
permanent_delete: bool = False
process
process: bool = False
read
read: bool = False
set_immutability_policy
set_immutability_policy: bool = False
tag
tag: bool = False
update
update: bool = False
write
write: bool = False
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python