Compartilhar via


AzureAppConfigurationExtensions.AddAzureAppConfiguration Method

Definition

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)

Source:
AzureAppConfigurationExtensions.cs
Source:
AzureAppConfigurationExtensions.cs

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>)

Source:
AzureAppConfigurationExtensions.cs

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.

Returns

A reference to the IResourceBuilder<T>.

Applies to