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

Applies to

This method applies to the following types: