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
stringThe name of the Azure App Configuration key to delete.
Returns
GetAppConfigurationsAsync()
Retrieves all app configuration values.
Task<List<ResourceProviderGetResult<AppConfigurationKeyBase>>> GetAppConfigurationsAsync()
Returns
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
stringThe full key value or key filter with a wildcard.
Returns
GetExternalOrchestrationServiceAsync(string)
Returns a specific external orchestration service by name.
Task<ResourceProviderGetResult<APIEndpointConfiguration>> GetExternalOrchestrationServiceAsync(string externalOrchestrationServiceName)
Parameters
externalOrchestrationServiceName
stringThe name of the external orchestration service to retrieve.
Returns
GetExternalOrchestrationServicesAsync()
Retrieves all external orchestration services.
Task<List<ResourceProviderGetResult<APIEndpointConfiguration>>> GetExternalOrchestrationServicesAsync()
Returns
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
APIEndpointConfigurationThe 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
AppConfigurationKeyBaseUse 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.