Table of Contents

Class AppConfigurationEntry

Namespace
FoundationaLLM.Common.Models.Configuration.AppConfiguration
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 string
minimumVersion string
keyVaultSecretName string
description string
defaultValue string
contentType string
sampleObject object
canBeEmpty bool

Properties

CanBeEmpty

If true, the configuration entry must exist but can be empty.

public bool CanBeEmpty { get; }

Property Value

bool

ContentType

The content type of the configuration entry.

public string? ContentType { get; }

Property Value

string

DefaultValue

The default value for the configuration entry.

public string? DefaultValue { get; }

Property Value

string

Description

A description of the configuration entry.

public string? Description { get; }

Property Value

string

Key

The App Configuration key.

public string Key { get; }

Property Value

string

KeyVaultSecretName

The name of the Key Vault secret that contains the value for this configuration entry.

public string? KeyVaultSecretName { get; }

Property Value

string

MinimumVersion

The minimum version of the app that is required to use this configuration entry.

public string? MinimumVersion { get; }

Property Value

string

SampleObject

A sample object that represents the configuration entry.

public object? SampleObject { get; }

Property Value

object