AccountSasPermissions Class
AccountSasPermissions class to be used with generate_account_sas
- Inheritance
-
builtins.objectAccountSasPermissions
Constructor
AccountSasPermissions(**kwargs)
Variables
- read
- bool
Valid for all signed resources types (Service, Container, and Object). Permits read permissions to the specified resource type.
- write
- bool
Valid for all signed resources types (Service, Container, and Object). Permits write permissions to the specified resource type.
- delete
- bool
Valid for Container and Object resource types, except for queue messages.
- list
- bool
Valid for Service and Container resource types only.
- add
- bool
Valid for the following Object resource types only: queue messages, and append blobs.
- create
- bool
Valid for the following Object resource types only: blobs and files. Users can create new blobs or files, but may not overwrite existing blobs or files.
- update
- bool
Valid for the following Object resource types only: queue messages.
- process
- bool
Valid for the following Object resource type only: queue messages.
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: str, **kwargs: Dict[str, Any]) -> azure.data.tables._models.AccountSasPermissions
Parameters
- permission
Returns
An AccountSasPermissions object
Return type
Feedback
Submit and view feedback for