Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AzureAppServiceEnvironmentResource.WithAzureApplicationInsights

Method
📦 Aspire.Hosting.Azure.AppService v17.0.0
type AzureAppServiceEnvironmentResource interface {
// ... omitted for brevity
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().

Defined on

This method is defined on the following type: