-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
BlobContainerAccessPolicy.cs
45 lines (39 loc) · 1.55 KB
/
BlobContainerAccessPolicy.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.Blobs.Models
{
/// <summary>
/// BlobContainerAccessPolicy
/// </summary>
public class BlobContainerAccessPolicy
{
/// <summary>
/// Indicated whether data in the container may be accessed publicly and the level of access.
/// </summary>
public PublicAccessType BlobPublicAccess { get; internal set; }
/// <summary>
/// The ETag contains a value that you can use to perform operations conditionally.
/// If the request version is 2011-08-18 or newer, the ETag value will be in quotes.
/// </summary>
public ETag ETag { get; internal set; }
/// <summary>
/// Returns the date and time the container was last modified.
/// Any operation that modifies the blob, including an update of the blob's metadata or properties, changes the last-modified time of the blob.
/// </summary>
public DateTimeOffset LastModified { get; internal set; }
/// <summary>
/// a collection of signed identifiers
/// </summary>
public IEnumerable<BlobSignedIdentifier> SignedIdentifiers { get; internal set; }
/// <summary>
/// Creates a new BlobContainerAccessPolicy instance.
/// </summary>
public BlobContainerAccessPolicy()
{
SignedIdentifiers = new List<BlobSignedIdentifier>();
}
}
}