AzureAppConfigurationExtensions.AddAzureAppConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddAzureAppConfiguration(IDistributedApplicationBuilder, String) |
Adds an Azure App Configuration resource to the application model. |
AddAzureAppConfiguration(IDistributedApplicationBuilder, String, Action<IResourceBuilder<AzureAppConfigurationResource>,ResourceModuleConstruct, AppConfigurationStore>) |
Adds an Azure App Configuration resource to the application model. |
AddAzureAppConfiguration(IDistributedApplicationBuilder, String)
Adds an Azure App Configuration resource to the application model.
public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureAppConfigurationResource> AddAzureAppConfiguration (this Aspire.Hosting.IDistributedApplicationBuilder builder, string name);
static member AddAzureAppConfiguration : Aspire.Hosting.IDistributedApplicationBuilder * string -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureAppConfigurationResource>
<Extension()>
Public Function AddAzureAppConfiguration (builder As IDistributedApplicationBuilder, name As String) As IResourceBuilder(Of AzureAppConfigurationResource)
Parameters
- name
- String
The name of the resource. This name will be used as the connection string name when referenced in a dependency.
Returns
A reference to the IResourceBuilder<T>.
Applies to
AddAzureAppConfiguration(IDistributedApplicationBuilder, String, Action<IResourceBuilder<AzureAppConfigurationResource>,ResourceModuleConstruct, AppConfigurationStore>)
Adds an Azure App Configuration resource to the application model.
public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureAppConfigurationResource> AddAzureAppConfiguration (this Aspire.Hosting.IDistributedApplicationBuilder builder, string name, Action<Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureAppConfigurationResource>,Aspire.Hosting.ResourceModuleConstruct,Azure.Provisioning.AppConfiguration.AppConfigurationStore>? configureResource);
static member AddAzureAppConfiguration : Aspire.Hosting.IDistributedApplicationBuilder * string * Action<Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureAppConfigurationResource>, Aspire.Hosting.ResourceModuleConstruct, Azure.Provisioning.AppConfiguration.AppConfigurationStore> -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureAppConfigurationResource>
<Extension()>
Public Function AddAzureAppConfiguration (builder As IDistributedApplicationBuilder, name As String, configureResource As Action(Of IResourceBuilder(Of AzureAppConfigurationResource), ResourceModuleConstruct, AppConfigurationStore)) As IResourceBuilder(Of AzureAppConfigurationResource)
Parameters
- name
- String
The name of the resource. This name will be used as the connection string name when referenced in a dependency.
- configureResource
- Action<IResourceBuilder<AzureAppConfigurationResource>,ResourceModuleConstruct,AppConfigurationStore>
Callback to configure the underlying AppConfigurationStore resource.
Returns
A reference to the IResourceBuilder<T>.