AzureApplicationInsightsResource.withLogAnalyticsWorkspace

Method
📦 Aspire.Hosting.Azure.ApplicationInsights v17.0.0
interface AzureApplicationInsightsResource {
// ... omitted for brevity
withLogAnalyticsWorkspace(logAnalyticsWorkspace: AzureLogAnalyticsWorkspaceResource): AzureApplicationInsightsResource;
}

Signature

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

Defined on

This method is defined on the following type: