-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
AccountSasResourceTypes.cs
48 lines (43 loc) · 1.56 KB
/
AccountSasResourceTypes.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Text;
namespace Azure.Storage.Sas
{
/// <summary>
/// Specifies the resource types accessible from an account level shared
/// access signature.
/// </summary>
[Flags]
public enum AccountSasResourceTypes
{
/// <summary>
/// Indicates whether service-level APIs are accessible
/// from this shared access signature (e.g., Get/Set Service
/// Properties, Get Service Stats, List Containers/Queues/Tables/
/// Shares).
/// </summary>
Service = 1,
/// <summary>
/// Indicates whether blob container-level APIs are accessible
/// from this shared access signature (e.g., Create/Delete Container,
/// Create/Delete Queue, Create/Delete Table, Create/Delete Share, List
/// Blobs/Files and Directories).
/// </summary>
Container = 2,
#pragma warning disable CA1720 // Identifier contains type name
/// <summary>
/// Indicates whether object-level APIs for blobs, queue
/// messages, and files are accessible from this shared access
/// signature (e.g. Put Blob, Query Entity, Get Messages, Create File,
/// etc.).
/// </summary>
Object = 4,
#pragma warning restore CA1720 // Identifier contains type name
/// <summary>
/// Indicates all service-level APIs are accessible from this shared
/// access signature.
/// </summary>
All = ~0
}
}