Skip to content

Commit 1e932d5

Browse files
committed
add StorageAccountSettings
Related to: aliencube#208, aliencube#213
1 parent d2ca462 commit 1e932d5

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

src/AzureOpenAIProxy.ApiApp/Configurations/AzureSettings.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,9 @@ public class AzureSettings
1919
/// Gets or sets the <see cref="KeyVaultSettings"/> instance.
2020
/// </summary>
2121
public KeyVaultSettings KeyVault { get; set; } = new();
22+
23+
/// <summary>
24+
/// Gets or sets the <see cref="StorageAccountSettings"/> instance.
25+
/// </summary>
26+
public StorageAccountSettings StorageAccount { get; set; } = new();
2227
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
namespace AzureOpenAIProxy.ApiApp.Configurations;
2+
3+
/// <summary>
4+
/// This represents the settings entity for Table Storage.
5+
/// </summary>
6+
public class StorageAccountSettings
7+
{
8+
/// <summary>
9+
/// Gets the name of the configuration settings.
10+
/// </summary>
11+
public const string Name = "StorageAccount";
12+
13+
/// <summary>
14+
/// Gets or sets the connection string.
15+
/// </summary>
16+
public string? ConnectionString { get; set; }
17+
18+
/// <summary>
19+
/// Gets or sets the container name.
20+
/// </summary>
21+
public string? ContainerName { get; set; }
22+
}

0 commit comments

Comments
 (0)