QueuePermissions Class

QueuePermissions class to be used with generate_queue_shared_access_signature method and for the AccessPolicies used with set_queue_acl.

Inheritance
builtins.object
QueuePermissions

Constructor

QueuePermissions(read=False, add=False, update=False, process=False, _str=None)

Parameters

Name Description
read

Read metadata and properties, including message count. Peek at messages.

Default value: False
add

Add messages to the queue.

Default value: False
update

Update messages in the queue. Note: Use the Process permission with Update so you can first get the message you want to update.

Default value: False
process

Get and delete messages from the queue.

Default value: False
_str
str

A string representing the permissions.

Default value: None

Variables

Name Description
QueuePermissions.READ

Read metadata and properties, including message count. Peek at messages.

QueuePermissions.ADD

Add messages to the queue.

QueuePermissions.UPDATE

Update messages in the queue. Note: Use the Process permission with Update so you can first get the message you want to update.

QueuePermissions.PROCESS

Delete entities. Get and delete messages from the queue.

Attributes

ADD

ADD = <azure.storage.queue.models.QueuePermissions object>

PROCESS

PROCESS = <azure.storage.queue.models.QueuePermissions object>

READ

READ = <azure.storage.queue.models.QueuePermissions object>

UPDATE

UPDATE = <azure.storage.queue.models.QueuePermissions object>