AccountPermissions class

Definition

ResourceTypes class to be used with generate_shared_access_signature method and for the AccessPolicies used with set_*_acl. There are two types of SAS which may be used to grant resource access. One is to grant access to a specific resource (resource-specific). Another is to grant access to the entire service for a specific account and allow certain operations based on perms found here.

AccountPermissions(read=False, write=False, delete=False, list=False, add=False, create=False, update=False, process=False, _str=None)
Inheritance
builtins.object
AccountPermissions

Variables

AccountPermissions.ADD
AccountPermissions
Valid for the following Object resource types only: queue messages and append blobs.
AccountPermissions.CREATE
AccountPermissions
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.
AccountPermissions.DELETE
AccountPermissions
Valid for Container and Object resource types, except for queue messages.
AccountPermissions.LIST
AccountPermissions
Valid for Service and Container resource types only.
AccountPermissions.PROCESS
AccountPermissions
Valid for the following Object resource type only: queue messages.
AccountPermissions.READ
AccountPermissions
Valid for all signed resources types (Service, Container, and Object). Permits read permissions to the specified resource type.
AccountPermissions.UPDATE
AccountPermissions
Valid for the following Object resource types only: queue messages.
AccountPermissions.WRITE
AccountPermissions
Valid for all signed resources types (Service, Container, and Object). Permits write permissions to the specified resource type.

Attributes

ADD

ADD = <azure.storage.common.models.AccountPermissions object>

CREATE

CREATE = <azure.storage.common.models.AccountPermissions object>

DELETE

DELETE = <azure.storage.common.models.AccountPermissions object>

LIST

LIST = <azure.storage.common.models.AccountPermissions object>

PROCESS

PROCESS = <azure.storage.common.models.AccountPermissions object>

READ

READ = <azure.storage.common.models.AccountPermissions object>

UPDATE

UPDATE = <azure.storage.common.models.AccountPermissions object>

WRITE

WRITE = <azure.storage.common.models.AccountPermissions object>