Skip to content
DocsTry Aspire
DocsTry

addAzureApplicationInsights

Method
📦 Aspire.Hosting.Azure.ApplicationInsights v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addAzureApplicationInsights(name: string): AzureApplicationInsightsResource;
}

Signature

methodaddAzureApplicationInsightsbuilder
Adds an Azure Application Insights resource to the application model.
addAzureApplicationInsights(name: string): AzureApplicationInsightsResource
namestring
AzureApplicationInsightsResource

Applies to

This method applies to the following types: