Skip to content

Commit a2229b5

Browse files
author
Warren Buckley
committed
Forgot to commit config file
1 parent d4ded1c commit a2229b5

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
namespace Our.Umbraco.FileSystemProviders.Azure
2+
{
3+
public class AzureBlobFileSystemConfig
4+
{
5+
public bool DisableVirtualPathProvider { get; set; }
6+
7+
/// <summary>
8+
/// The container name
9+
/// </summary>
10+
public string ContainerName { get; set; }
11+
12+
/// <summary>
13+
/// The root url
14+
/// </summary>
15+
public string RootUrl { get; set; }
16+
17+
/// <summary>
18+
/// The connection string
19+
/// </summary>
20+
public string ConnectionString { get; set; }
21+
22+
//TODO: INT - The current underlying AzureBlobFileSystem expects this as string - YUK
23+
/// <summary>
24+
/// The maximum number of days to cache blob items for in the browser
25+
/// </summary>
26+
public string MaxDays { get; set; }
27+
28+
//TODO: BOOL - The current underlying AzureBlobFileSystem expects this as string - YUK
29+
/// <summary>
30+
/// Whether to use the default "media" route in the url independent of the blob container
31+
/// </summary>
32+
public string UseDefaultRoute { get; set; }
33+
34+
//TODO: BOOL - The current underlying AzureBlobFileSystem expects this as string - YUK
35+
/// <summary>
36+
/// Blob container can be private (no direct access) or public (direct access possible, default)
37+
/// </summary>
38+
public string UsePrivateContainer { get; set; }
39+
}
40+
}

src/UmbracoFileSystemProviders.Azure/UmbracoFileSystemProviders.Azure.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@
274274
</ItemGroup>
275275
<ItemGroup>
276276
<Compile Include="AzureBlobFileSystem.cs" />
277+
<Compile Include="AzureBlobFileSystemConfig.cs" />
277278
<Compile Include="AzureFileSystem.cs" />
278279
<Compile Include="AzureFileSystemComponent.cs" />
279280
<Compile Include="AzureFileSystemComposer.cs" />

0 commit comments

Comments
 (0)