Package version:

Class ContainerSASPermissions

This is a helper class to construct a string representing the permissions granted by a ServiceSAS to a container. Setting a value to true means that any SAS which uses these permissions will grant permissions for that operation. Once all the values are set, this should be serialized with toString and set as the permissions field on a BlobSASSignatureValues object. It is possible to construct the permissions string without this class, but the order of the permissions is particular and this class guarantees correctness.

Constructors

Properties

add: boolean = false

Specifies Add access granted.

create: boolean = false

Specifies Create access granted.

delete: boolean = false

Specifies Delete access granted.

deleteVersion: boolean = false

Specifies Delete version access granted.

execute: boolean = false

Specifies Execute access granted.

filterByTags: boolean = false

Specifies that Filter Blobs by Tags is permitted.

list: boolean = false

Specifies List access granted.

move: boolean = false

Specifies Move access granted.

permanentDelete: boolean = false

Specifies that Permanent Delete is permitted.

read: boolean = false

Specifies Read access granted.

setImmutabilityPolicy: boolean = false

Specifies SetImmutabilityPolicy access granted.

tag: boolean = false

Specfies Tag access granted.

write: boolean = false

Specifies Write access granted.

Methods