QueueSasPermissions class

Definition

QueueSasPermissions(read=False, add=False, update=False, process=False)
Inheritance
builtins.object
QueueSasPermissions

Parameters

read
bool

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

add
bool

Add messages to the queue.

update
bool

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

process
bool

Get and delete messages from the queue.

Methods

from_string

Create a QueueSasPermissions from a string.

To specify read, add, update, or process permissions you need only to include the first letter of the word in the string. E.g. For read and update permissions, you would provide a string "ru".

from_string

Create a QueueSasPermissions from a string.

To specify read, add, update, or process permissions you need only to include the first letter of the word in the string. E.g. For read and update permissions, you would provide a string "ru".

from_string(permission)

Parameters

permission
str
Required

The string which dictates the read, add, update, or process permissions.

permission
Required

Returns

A QueueSasPermissions object

Return type