AzureAppConfigurationExtensions
Class static net8.0
Provides extension methods for adding the Azure AppConfiguration resources to the application model.
namespace Aspire.Hosting;
public static class AzureAppConfigurationExtensions{ // ...} 6 members
Methods6
Section titled MethodsAddAzureAppConfiguration(IDistributedApplicationBuilder, string)extensionats exportIResourceBuilder<AzureAppConfigurationResource> Adds an Azure App Configuration resource to the application model.
RunAsEmulator(IResourceBuilder<AzureAppConfigurationResource>, Action<IResourceBuilder<AzureAppConfigurationEmulatorResource>>)extensionats exportIResourceBuilder<AzureAppConfigurationResource> Configures an Azure App Configuration resource to be emulated. This resource requires an
AzureAppConfigurationResource to be added to the application model. WithDataBindMount(IResourceBuilder<AzureAppConfigurationEmulatorResource>, string?)extensionats exportIResourceBuilder<AzureAppConfigurationEmulatorResource> Adds a bind mount for the storage of an Azure App Configuration emulator resource.
WithDataVolume(IResourceBuilder<AzureAppConfigurationEmulatorResource>, string?)extensionats exportIResourceBuilder<AzureAppConfigurationEmulatorResource> Adds a named volume for the data folder to an Azure App Configuration emulator resource.
WithHostPort(IResourceBuilder<AzureAppConfigurationEmulatorResource>, int?)extensionats exportIResourceBuilder<AzureAppConfigurationEmulatorResource> Configures the host port for the Azure App Configuration emulator is exposed on instead of using randomly assigned port.
WithRoleAssignments(IResourceBuilder<T>, IResourceBuilder<AzureAppConfigurationResource>, AppConfigurationBuiltInRole[])extensionats ignoredIResourceBuilder<T> Assigns the specified roles to the given resource, granting it the necessary permissions on the target Azure App Configuration resource. This replaces the default role assignments for the resource.