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.
Properties addSpecifies Add access granted.
createSpecifies Create access granted.
deleteSpecifies Delete access granted.
deleteVersionSpecifies Delete version access granted.
executeSpecifies Execute access granted.
filterByTagsSpecifies that Filter Blobs by Tags is permitted.
listSpecifies List access granted.
moveSpecifies Move access granted.
permanentDeleteSpecifies that Permanent Delete is permitted.
readSpecifies Read access granted.
setImmutabilityPolicySpecifies SetImmutabilityPolicy access granted.
tagSpecfies Tag access granted.
writeSpecifies Write access granted.
Property Details addSpecifies Add access granted.
add: boolean
Property Value
boolean
createSpecifies Create access granted.
create: boolean
Property Value
boolean
deleteSpecifies Delete access granted.
delete: boolean
Property Value
boolean
deleteVersionSpecifies Delete version access granted.
deleteVersion: boolean
Property Value
boolean
executeSpecifies Execute access granted.
execute: boolean
Property Value
boolean
filterByTagsSpecifies that Filter Blobs by Tags is permitted.
filterByTags: boolean
Property Value
boolean
listSpecifies List access granted.
list: boolean
Property Value
boolean
moveSpecifies Move access granted.
move: boolean
Property Value
boolean
permanentDeleteSpecifies that Permanent Delete is permitted.
permanentDelete: boolean
Property Value
boolean
readSpecifies Read access granted.
read: boolean
Property Value
boolean
setImmutabilityPolicySpecifies SetImmutabilityPolicy access granted.
setImmutabilityPolicy: boolean
Property Value
boolean
tagSpecfies Tag access granted.
tag: boolean
Property Value
boolean
writeSpecifies Write access granted.
write: boolean
Property Value
boolean
Method Details from(ContainerSASPermissionsLike)Creates a ContainerSASPermissions from a raw object which contains same keys as it and boolean values for them.
static function from(permissionLike: ContainerSASPermissionsLike): ContainerSASPermissions
Parameters Returns parse(string)
Creates an ContainerSASPermissions from the specified permissions string. This method will throw an Error if it encounters a character that does not correspond to a valid permission.
static function parse(permissions: string): ContainerSASPermissions
Parameters Returns
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4