Class TitleStorageConnection
Uses Azure KeyVault data stored in a IConfiguration object to
look up the storage account name associated with a given title.
Inheritance
TitleStorageConnection
Assembly: CrashCABN.DataAccess.Abstractions.dll
Syntax
public sealed record TitleStorageConnection : ITitleStorageConnection, IEquatable<TitleStorageConnection>
Constructors
View Source
TitleStorageConnection(ITitleDataAccessOptionsFactory)
Uses Azure KeyVault data stored in a IConfiguration object to
look up the storage account name associated with a given title.
Declaration
public TitleStorageConnection(ITitleDataAccessOptionsFactory TitleOptionsFactory)
Parameters
Properties
View Source
TitleOptionsFactory
Declaration
public ITitleDataAccessOptionsFactory TitleOptionsFactory { get; init; }
Property Value
Methods
View Source
GetStorageAccountForTitle(string)
Declaration
public string GetStorageAccountForTitle(string titleName)
Parameters
Type |
Name |
Description |
string |
titleName |
|
Returns
View Source
GetStorageForwarderAccountForTitle(string)
Declaration
public string GetStorageForwarderAccountForTitle(string titleName)
Parameters
Type |
Name |
Description |
string |
titleName |
|
Returns
Implements
Extension Methods