Bagikan melalui


AccountSasPermissions Enum

Definition

AccountSasPermissions contains the list of permissions that can be set for a blob's access policy. Use SetPermissions(AccountSasPermissions) to set the permissions on the AccountSasBuilder.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum AccountSasPermissions
[<System.Flags>]
type AccountSasPermissions = 
Public Enum AccountSasPermissions
Inheritance
AccountSasPermissions
Attributes

Fields

Name Value Description
All -1

Indicates that all permissions are set.

Read 1

Indicates that Read is permitted.

Write 2

Indicates that Write is permitted.

Delete 4

Indicates that Delete is permitted.

List 8

Indicates that List is permitted.

Add 16

Indicates that Add is permitted.

Create 32

Indicates that Create is permitted.

Update 64

Indicates that Update is permitted.

Process 128

Indicates that Delete is permitted.

Tag 256

Indicates that reading and writing Tags is permitted. Blob service only.

Filter 512

Indicates that filtering by tag is permitted. Blob service only.

DeleteVersion 1024

Indicates that deleting a BlobVersion is permitted. Blob Service only.

SetImmutabilityPolicy 2048

Indicates that setting immutability policy is permitted.

PermanentDelete 4096

Indicates that Blob Permanent Delete is permitted. Blob service only.

Applies to