Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AzureApplicationInsightsResource

Handle
📦 Aspire.Hosting.Azure.ApplicationInsights v17.0.0
type AzureApplicationInsightsResource interface {
ExpressionValue
Resource
ResourceWithConnectionString
}

Methods

Configures the Application Insights resource to use the specified Log Analytics Workspace resource.
WithLogAnalyticsWorkspace(logAnalyticsWorkspace AzureLogAnalyticsWorkspaceResource) AzureApplicationInsightsResource
logAnalyticsWorkspaceAzureLogAnalyticsWorkspaceResourceThe resource builder for the AzureLogAnalyticsWorkspaceResource.
AzureApplicationInsightsResource

The resource builder.

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