Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithAzureApplicationInsights

Method
📦 Aspire.Hosting.Azure.AppService v17.0.0
func (AzureAppServiceEnvironmentResource) WithAzureApplicationInsights(options ...*WithAzureApplicationInsightsOptions) AzureAppServiceEnvironmentResource

Signature

methodWithAzureApplicationInsightsbuilder
Enables Azure Application Insights for the Azure App Service environment
WithAzureApplicationInsights(options ...*WithAzureApplicationInsightsOptions) AzureAppServiceEnvironmentResource
options...*WithAzureApplicationInsightsOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithAzureApplicationInsightsOptions argument.

ApplicationInsightsany
AzureAppServiceEnvironmentResource

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: