Class AppConfigurationEntry
- Assembly
- FoundationaLLM.Common.dll
Represents a single entry in the app configuration catalog.
public class AppConfigurationEntry
- Inheritance
-
AppConfigurationEntry
- Inherited Members
- Extension Methods
Constructors
AppConfigurationEntry(string, string?, string?, string?, string?, string?, object?, bool)
Represents a single entry in the app configuration catalog.
public AppConfigurationEntry(string key, string? minimumVersion, string? keyVaultSecretName = null, string? description = null, string? defaultValue = null, string? contentType = null, object? sampleObject = null, bool canBeEmpty = false)
Parameters
key
stringminimumVersion
stringkeyVaultSecretName
stringdescription
stringdefaultValue
stringcontentType
stringsampleObject
objectcanBeEmpty
bool
Properties
CanBeEmpty
If true, the configuration entry must exist but can be empty.
public bool CanBeEmpty { get; }
Property Value
ContentType
The content type of the configuration entry.
public string? ContentType { get; }
Property Value
DefaultValue
The default value for the configuration entry.
public string? DefaultValue { get; }
Property Value
Description
A description of the configuration entry.
public string? Description { get; }
Property Value
Key
The App Configuration key.
public string Key { get; }
Property Value
KeyVaultSecretName
The name of the Key Vault secret that contains the value for this configuration entry.
public string? KeyVaultSecretName { get; }
Property Value
MinimumVersion
The minimum version of the app that is required to use this configuration entry.
public string? MinimumVersion { get; }
Property Value
SampleObject
A sample object that represents the configuration entry.
public object? SampleObject { get; }