-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ShareStates.cs
36 lines (31 loc) · 1000 Bytes
/
ShareStates.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace Azure.Storage.Files.Shares.Models
{
/// <summary>
/// States to determine the shares included with <see cref="ShareServiceClient.GetSharesAsync"/>.
/// operation.
/// </summary>
[Flags]
public enum ShareStates
{
/// <summary>
/// Default value specifying that no flags are set in <see cref="ShareStates"/>.
/// </summary>
None = 0,
/// <summary>
/// Flag specifying that the share's snapshots should be included.
/// Snapshots are listed from oldest to newest.
/// </summary>
Snapshots = 1,
/// <summary>
/// Flag specifying that deleted shares should be included.
/// </summary>
Deleted = 2,
/// <summary>
/// Flag specifying that shares of all states should be included.
/// </summary>
All = ~None
}
}