ContainerPermissions class

Definition

ContainerPermissions(read=False, write=False, delete=False, list=False, _str=None)
Inheritance
builtins.object
ContainerPermissions

Parameters

read
bool

Read the content, properties, metadata or block list of any blob in the container. Use any blob in the container as the source of a copy operation.

write
bool

For any blob in the container, create or write content, properties, metadata, or block list. Snapshot or lease the blob. Resize the blob (page blob only). Use the blob as the destination of a copy operation within the same account. Note: You cannot grant permissions to read or write container properties or metadata, nor to lease a container, with a container SAS. Use an account SAS instead.

delete
bool

Delete any blob in the container. Note: You cannot grant permissions to delete a container with a container SAS. Use an account SAS instead.

list
bool

List blobs in the container.

_str
str

A string representing the permissions.

Variables

ContainerPermissions.DELETE
ContainerPermissions
Delete any blob in the container. Note: You cannot grant permissions to delete a container with a container SAS. Use an account SAS instead.
ContainerPermissions.LIST
ContainerPermissions
List blobs in the container.
ContainerPermissions.READ
ContainerPermissions
Read the content, properties, metadata or block list of any blob in the container. Use any blob in the container as the source of a copy operation.
ContainerPermissions.WRITE
ContainerPermissions
For any blob in the container, create or write content, properties, metadata, or block list. Snapshot or lease the blob. Resize the blob (page blob only). Use the blob as the destination of a copy operation within the same account. Note: You cannot grant permissions to read or write container properties or metadata, nor to lease a container, with a container SAS. Use an account SAS instead.

Attributes

DELETE

DELETE = <azure.storage.blob.models.ContainerPermissions object>

LIST

LIST = <azure.storage.blob.models.ContainerPermissions object>

READ

READ = <azure.storage.blob.models.ContainerPermissions object>

WRITE

WRITE = <azure.storage.blob.models.ContainerPermissions object>