Table of Contents

Interface IConfigurationManagementClient

Namespace
FoundationaLLM.Client.Management.Interfaces
Assembly
FoundationaLLM.Client.Management.dll

Provider methods for managing configuration resources.

public interface IConfigurationManagementClient
Extension Methods

Methods

DeleteAppConfigurationAsync(string)

Deletes an Azure App Configuration key and associated Azure Key Vault secret.

Task DeleteAppConfigurationAsync(string key)

Parameters

key string

The name of the Azure App Configuration key to delete.

Returns

Task

GetAppConfigurationsAsync()

Retrieves all app configuration values.

Task<List<ResourceProviderGetResult<AppConfigurationKeyBase>>> GetAppConfigurationsAsync()

Returns

Task<List<ResourceProviderGetResult<AppConfigurationKeyBase>>>

GetAppConfigurationsByFilterAsync(string)

Retrieves app configuration values by a filter. Either enter an exact key or a partial key with a wildcard (asterisk: ) to filter results. For example, "FoundationaLLM:Branding:" will return all app configuration values that start with "FoundationaLLM:Branding:".

Task<List<ResourceProviderGetResult<AppConfigurationKeyBase>>> GetAppConfigurationsByFilterAsync(string key)

Parameters

key string

The full key value or key filter with a wildcard.

Returns

Task<List<ResourceProviderGetResult<AppConfigurationKeyBase>>>

GetExternalOrchestrationServiceAsync(string)

Returns a specific external orchestration service by name.

Task<ResourceProviderGetResult<APIEndpointConfiguration>> GetExternalOrchestrationServiceAsync(string externalOrchestrationServiceName)

Parameters

externalOrchestrationServiceName string

The name of the external orchestration service to retrieve.

Returns

Task<ResourceProviderGetResult<APIEndpointConfiguration>>

GetExternalOrchestrationServicesAsync()

Retrieves all external orchestration services.

Task<List<ResourceProviderGetResult<APIEndpointConfiguration>>> GetExternalOrchestrationServicesAsync()

Returns

Task<List<ResourceProviderGetResult<APIEndpointConfiguration>>>

UpsertAPIEndpointConfiguration(APIEndpointConfiguration)

Upserts an api endpoint configuration resource. If an api endpoint configuration does not exist, it will be created. If an api endpoint configuration does exist, it will be updated.

Task<ResourceProviderUpsertResult> UpsertAPIEndpointConfiguration(APIEndpointConfiguration apiEndpointConfiguration)

Parameters

apiEndpointConfiguration APIEndpointConfiguration

The api endpoint configuration resource to create or update.

Returns

Task<ResourceProviderUpsertResult>

Returns a ResourceProviderUpsertResult, which contains the Object ID of the resource.

UpsertAppConfigurationAsync(AppConfigurationKeyBase)

Upserts an app configuration value. If the value does not exist, it will be created. To create a standard Key-value App Configuration, use the AppConfigurationKeyValue class for the appConfiguration parameter. To create a Key Vault reference App Configuration, use the AppConfigurationKeyVaultReference class for the appConfiguration parameter.

Task<ResourceProviderUpsertResult> UpsertAppConfigurationAsync(AppConfigurationKeyBase appConfiguration)

Parameters

appConfiguration AppConfigurationKeyBase

Use either the AppConfigurationKeyValue type or the AppConfigurationKeyVaultReference type to save the App Config value as a key-value setting or a Key Vault reference, respectively.

Returns

Task<ResourceProviderUpsertResult>