-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
FileSystemAccessPolicy.cs
45 lines (39 loc) · 1.51 KB
/
FileSystemAccessPolicy.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Text;
namespace Azure.Storage.Files.DataLake.Models
{
/// <summary>
/// FileSystemAccessPolicy.
/// </summary>
public class FileSystemAccessPolicy
{
/// <summary>
/// A <see cref="PublicAccessType"/> indicating whether data in the file system may
/// be accessed publicly and the level of access.
/// </summary>
public PublicAccessType DataLakePublicAccess { get; internal set; }
/// <summary>
/// The ETag contains a value that you can use to perform operations conditionally.
/// If the request service version is 2011-08-18 or newer, the ETag value will be in quotes.
/// </summary>
public ETag ETag { get; internal set; }
/// <summary>
/// Returns the <see cref="DateTimeOffset"/> the file system was last modified.
/// </summary>
public DateTimeOffset LastModified { get; internal set; }
/// <summary>
/// A collection of signed identifiers stored on the file system.
/// </summary>
public IEnumerable<DataLakeSignedIdentifier> SignedIdentifiers { get; internal set; }
/// <summary>
/// Creates a new FileSystemAccessPolicy instance.
/// </summary>
public FileSystemAccessPolicy()
{
SignedIdentifiers = new List<DataLakeSignedIdentifier>();
}
}
}