-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ShareCreateOptions.cs
43 lines (37 loc) · 1.39 KB
/
ShareCreateOptions.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Text;
using Metadata = System.Collections.Generic.IDictionary<string, string>;
namespace Azure.Storage.Files.Shares.Models
{
/// <summary>
/// Optional parameters for creating a Share.
/// </summary>
public class ShareCreateOptions
{
/// <summary>
/// Optional custom metadata to set for this share.
/// </summary>
#pragma warning disable CA2227 // Collection properties should be readonly
public Metadata Metadata { get; set; }
#pragma warning restore CA2227 // Collection properties should be readonly
/// <summary>
/// Optional. Maximum size of the share in gigabytes. If unspecified, use the service's default value.
/// </summary>
public int? QuotaInGB { get; set; }
/// <summary>
/// Optional. Specifies the access tier of the share.
/// </summary>
public ShareAccessTier? AccessTier { get; set; }
/// <summary>
/// The protocols to enable for the share.
/// </summary>
public ShareProtocols? Protocols { get; set; }
/// <summary>
/// The root squash to set for the share. Only valid for NFS shares.
/// </summary>
public ShareRootSquash? RootSquash { get; set; }
}
}